#2A0D33#2A0D33

#2A0D33 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.077 H 317.3°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#2A0D33
RGBrgb(42, 13, 51)
HSLhsl(286, 59%, 13%)
HSVhsv(286, 75%, 20%)
CMYKcmyk(17.6%, 74.5%, 0%, 80%)
CIE-LABlab(9.15, 22.26, -18.61)
CIE-LCHlch(9.15, 29.01, 320.10°)
OKLaboklab(22.64% 0.0565 -0.0521)
OKLCHoklch(22.64% 0.077 317.3)
XYZxyz(1.6962, 1.0192, 3.2387)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0D33 #16330D
analogous
#170D33 #2A0D33 #330D29
triadic
#2A0D33 #332A0D #0D332A
tetradic
#2A0D33 #33170D #16330D #0D2933
square
#2A0D33 #33170D #16330D #0D2933
split-complementary
#2A0D33 #29330D #0D3317
monochromatic
#140618 #140618 #2A0D33 #521964 #7A2695

Accessibility & contrast

On white

17.44
#2A0D33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2A0D33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0D33
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0D33#FFFFFF#000000##FFFFFF
##2A0D331.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031834
Deuteranopia (green-blind)
#0E1B32
Tritanopia (blue-blind)
#2A141E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2a0d33;
/* rgb */ color: rgb(42, 13, 51);
/* oklch */ color: oklch(22.6% 0.077 317.3);
Tailwind
colors: {
  custom: {
    50: '#654e6b',
    500: '#2a0d33',
    950: '#000000',
  },
}
SCSS
$custom: #2a0d33;
$custom-light: #654e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0d33",
  "rgb": {
    "r": 42,
    "g": 13,
    "b": 51
  },
  "hsl": {
    "h": 285.789,
    "s": 59.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22639,
    "c": 0.07686,
    "h": 317.3
  },
  "luminance": 0.01019
}

Semantic roles & 50–950 ramp

primary
#2A0D33
secondary
#3D6E2E
accent
#E3456B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2A0D33

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

Preview Lab → · Contrast checker → · Palette generator →

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