#2A1345

Closest named color: Dark Purple (#35063E). oklch(25.1% 0.09 301.3), rgb(42, 19, 69).

Aa

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

About this color

#2A1345 is a dark, moderately saturated purple. In OKLCH its lightness is 25%, its chroma 0.090 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Purple (#35063E), ΔE 0.036 away. White text reads best on it, at 16.43:1.

Hue familyPurples
Lightnessdark (25%)
Chromamoderately saturated (0.090)
Temperaturein between
Nearest nameDark Purple (#35063E)
Black text1.27:1
White text16.43:1

Values

HEX#2A1345
RGBrgb(42, 19, 69)
HSLhsl(268, 57%, 17%)
OKLCHoklch(25.1% 0.09 301.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 #2A1345 16.43:1 AAA Lc -105.6 Preferred for body text
Black text on #2A1345 1.27:1 Fails Lc 0.0 Not readable
#2A1345 text on white 16.43:1 AAA Lc 103.1 Preferred for body text
#2A1345 text on black 1.27: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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EDE6FC

    oklch(93.7% 0.03 300.3)

  3. Step 200

    200

    #E0D1FB

    oklch(88.6% 0.059 301.5)

  4. Step 300

    300

    #CCB1FB

    oklch(81% 0.106 300.8)

  5. Step 400

    400

    #B483F9

    oklch(70.7% 0.172 301.3)

  6. Step 500

    500

    #A35EF5

    oklch(63.2% 0.218 301.5)

  7. Step 600

    600

    #8F3CE4

    oklch(55.7% 0.237 301.4)

  8. Step 700

    700

    #792CC6

    oklch(49.1% 0.22 301)

  9. Step 800

    800

    #6327A0

    oklch(42.7% 0.183 301.5)

  10. Step 900

    900

    #50277F

    oklch(37.7% 0.142 301.2)

  11. Step 950

    950 (this color)

    #2A1345

    oklch(25.1% 0.09 301.3)

Export this scale for Tailwind in the Tailwind colors tool

#2A1345 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)#001F470.067
Deuteranopia (no green cones)#021F440.066
Tritanopia (no blue cones)#241E2A0.066
Achromatopsia (no color)#1F1F1F0.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A1345

    #2A1345

    oklch(25.1% 0.09 301.3)

  • #1D2600

    #1D2600

    oklch(25.1% 0.061 122.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A1345

    #2A1345

    oklch(25.1% 0.09 301.3)

  • #131B4C

    #131B4C

    oklch(25% 0.091 271.2)

  • #380C35

    #380C35

    oklch(25% 0.089 330.8)

Open the analogous palette in the generator

Split complementary

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

  • #2A1345

    #2A1345

    oklch(25.1% 0.09 301.3)

  • #2B2000

    #2B2000

    oklch(25% 0.051 90)

  • #002A10

    #002A10

    oklch(25% 0.066 151.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A1345

    #2A1345

    oklch(25.1% 0.09 301.3)

  • #351A00

    #351A00

    oklch(25% 0.058 61.4)

  • #002923

    #002923

    oklch(25.2% 0.046 180.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A1345

    #2A1345

    oklch(25.1% 0.09 301.3)

  • #430802

    #430802

    oklch(25% 0.09 31.8)

  • #1D2600

    #1D2600

    oklch(25.1% 0.061 122.1)

  • #00272E

    #00272E

    oklch(25% 0.044 212.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2A1345 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.