#2A0D37#2A0D37

#2A0D37 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.0% C 0.082 H 313.6°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#2A0D37
RGBrgb(42, 13, 55)
HSLhsl(281, 62%, 13%)
HSVhsv(281, 76%, 22%)
CMYKcmyk(23.6%, 76.4%, 0%, 78.4%)
CIE-LABlab(9.45, 23.29, -21.04)
CIE-LCHlch(9.45, 31.38, 317.90°)
OKLaboklab(22.95% 0.0564 -0.0592)
OKLCHoklch(22.95% 0.082 313.6)
XYZxyz(1.7882, 1.0560, 3.7233)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0D37 #1A370D
analogous
#150D37 #2A0D37 #370D2F
triadic
#2A0D37 #372A0D #0D372A
tetradic
#2A0D37 #37150D #1A370D #0D2F37
square
#2A0D37 #37150D #1A370D #0D2F37
split-complementary
#2A0D37 #2F370D #0D3715
monochromatic
#130619 #130619 #2A0D37 #501968 #76249A

Accessibility & contrast

On white

17.34
#2A0D37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2A0D37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0D37
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0D37#FFFFFF#000000##FFFFFF
##2A0D371.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001938
Deuteranopia (green-blind)
#0B1B36
Tritanopia (blue-blind)
#291520
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2a0d37;
/* rgb */ color: rgb(42, 13, 55);
/* oklch */ color: oklch(23.0% 0.082 313.6);
Tailwind
colors: {
  custom: {
    50: '#654e6e',
    500: '#2a0d37',
    950: '#000000',
  },
}
SCSS
$custom: #2a0d37;
$custom-light: #654e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0d37",
  "rgb": {
    "r": 42,
    "g": 13,
    "b": 55
  },
  "hsl": {
    "h": 281.429,
    "s": 61.765,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22951,
    "c": 0.08177,
    "h": 313.6
  },
  "luminance": 0.01056
}

Semantic roles & 50–950 ramp

primary
#2A0D37
secondary
#43722D
accent
#E54375
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2A0D37

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2A0D37 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva