#070521

Closest named color: Midnight (#03012D). oklch(14.3% 0.058 280.3), rgb(7, 5, 33).

Aa

White text reads best on this color (19.94:1).

About this color

#070521 is a very dark, muted purple. In OKLCH its lightness is 14%, its chroma 0.058 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.032 away. White text reads best on it, at 19.94:1.

Hue familyPurples
Lightnessvery dark (14%)
Chromamuted (0.058)
Temperaturecool
Nearest nameMidnight (#03012D)
Black text1.05:1
White text19.94:1

Values

HEX#070521
RGBrgb(7, 5, 33)
HSLhsl(244, 74%, 7%)
OKLCHoklch(14.3% 0.058 280.3)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #070521 19.94:1 AAA Lc -107.7 Preferred for body text
Black text on #070521 1.05:1 Fails Lc 0.0 Not readable
#070521 text on white 19.94:1 AAA Lc 105.8 Preferred for body text
#070521 text on black 1.05:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.

  1. Step 50

    50

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E7E9F7

    oklch(93.7% 0.019 279.5)

  3. Step 200

    200

    #D4D7F3

    oklch(88.6% 0.039 280.7)

  4. Step 300

    300

    #B7BCED

    oklch(80.8% 0.069 280.2)

  5. Step 400

    400

    #9398E4

    oklch(70.6% 0.111 280.3)

  6. Step 500

    500

    #7A7DDD

    oklch(63.1% 0.142 280.1)

  7. Step 600

    600

    #6564CA

    oklch(55.6% 0.154 280.6)

  8. Step 700

    700

    #5453AF

    oklch(49.2% 0.143 280.3)

  9. Step 800

    800

    #44448E

    oklch(42.7% 0.119 280.1)

  10. Step 900

    900

    #393A71

    oklch(37.7% 0.092 280.2)

  11. Step 950

    950 (this color)

    #070521

    oklch(14.3% 0.058 280.3)

Export this scale for Tailwind in the Tailwind colors tool

#070521 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#000A220.024
Deuteranopia (no green cones)#0008200.021
Tritanopia (no blue cones)#000B110.049
Achromatopsia (no color)#0909090.059

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #070521

    #070521

    oklch(14.3% 0.058 280.3)

  • #0D0A00

    #0D0A00

    oklch(14.4% 0.03 99.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #070521

    #070521

    oklch(14.3% 0.058 280.3)

  • #000A1A

    #000A1A

    oklch(14.3% 0.041 250.7)

  • #11021B

    #11021B

    oklch(14.2% 0.059 310.6)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #070521

    #070521

    oklch(14.3% 0.058 280.3)

  • #120700

    #120700

    oklch(14.3% 0.031 68.1)

  • #050D00

    #050D00

    oklch(14.4% 0.039 130.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #070521

    #070521

    oklch(14.3% 0.058 280.3)

  • #180300

    #180300

    oklch(14.2% 0.045 39.8)

  • #000E06

    #000E06

    oklch(14.5% 0.032 160.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #070521

    #070521

    oklch(14.3% 0.058 280.3)

  • #1C0005

    #1C0005

    oklch(14.5% 0.058 10.7)

  • #0D0A00

    #0D0A00

    oklch(14.4% 0.03 99.5)

  • #000D0C

    #000D0C

    oklch(14.4% 0.025 189.7)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #070521, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #070521 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.