#2A0D35#2A0D35

#2A0D35 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.8% C 0.079 H 315.4°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#2A0D35
RGBrgb(42, 13, 53)
HSLhsl(284, 61%, 13%)
HSVhsv(284, 75%, 21%)
CMYKcmyk(20.8%, 75.5%, 0%, 79.2%)
CIE-LABlab(9.30, 22.77, -19.83)
CIE-LCHlch(9.30, 30.19, 318.95°)
OKLaboklab(22.79% 0.0565 -0.0556)
OKLCHoklch(22.79% 0.079 315.4)
XYZxyz(1.7413, 1.0372, 3.4759)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0D35 #18350D
analogous
#160D35 #2A0D35 #350D2C
triadic
#2A0D35 #352A0D #0D352A
tetradic
#2A0D35 #35160D #18350D #0D2C35
square
#2A0D35 #35160D #18350D #0D2C35
split-complementary
#2A0D35 #2C350D #0D3516
monochromatic
#130619 #130619 #2A0D35 #511966 #782597

Accessibility & contrast

On white

17.39
#2A0D35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0D35
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0D35#FFFFFF#000000##FFFFFF
##2A0D351.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021836
Deuteranopia (green-blind)
#0D1B34
Tritanopia (blue-blind)
#29141F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2a0d35;
/* rgb */ color: rgb(42, 13, 53);
/* oklch */ color: oklch(22.8% 0.079 315.4);
Tailwind
colors: {
  custom: {
    50: '#654e6c',
    500: '#2a0d35',
    950: '#000000',
  },
}
SCSS
$custom: #2a0d35;
$custom-light: #654e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0d35",
  "rgb": {
    "r": 42,
    "g": 13,
    "b": 53
  },
  "hsl": {
    "h": 283.5,
    "s": 60.606,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22793,
    "c": 0.0793,
    "h": 315.4
  },
  "luminance": 0.01037
}

Semantic roles & 50–950 ramp

primary
#2A0D35
secondary
#40702D
accent
#E44470
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2A0D35

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

Preview Lab → · Contrast checker → · Palette generator →

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