#2A0D36#2A0D36

#2A0D36 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.9% C 0.081 H 314.5°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#2A0D36
RGBrgb(42, 13, 54)
HSLhsl(282, 61%, 13%)
HSVhsv(282, 76%, 21%)
CMYKcmyk(22.2%, 75.9%, 0%, 78.8%)
CIE-LABlab(9.37, 23.03, -20.44)
CIE-LCHlch(9.37, 30.79, 318.41°)
OKLaboklab(22.87% 0.0565 -0.0574)
OKLCHoklch(22.87% 0.081 314.5)
XYZxyz(1.7645, 1.0465, 3.5984)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0D36 #19360D
analogous
#150D36 #2A0D36 #360D2D
triadic
#2A0D36 #362A0D #0D362A
tetradic
#2A0D36 #36150D #19360D #0D2D36
square
#2A0D36 #36150D #19360D #0D2D36
split-complementary
#2A0D36 #2D360D #0D3615
monochromatic
#130619 #130619 #2A0D36 #501967 #772599

Accessibility & contrast

On white

17.37
#2A0D36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0D36
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0D36#FFFFFF#000000##FFFFFF
##2A0D361.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a0d36;
/* rgb */ color: rgb(42, 13, 54);
/* oklch */ color: oklch(22.9% 0.081 314.5);
Tailwind
colors: {
  custom: {
    50: '#654e6d',
    500: '#2a0d36',
    950: '#000000',
  },
}
SCSS
$custom: #2a0d36;
$custom-light: #654e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0d36",
  "rgb": {
    "r": 42,
    "g": 13,
    "b": 54
  },
  "hsl": {
    "h": 282.439,
    "s": 61.194,
    "l": 13.137
  },
  "oklch": {
    "l": 0.22871,
    "c": 0.08054,
    "h": 314.5
  },
  "luminance": 0.01046
}

Semantic roles & 50–950 ramp

primary
#2A0D36
secondary
#41712D
accent
#E44373
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2A0D36

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

Preview Lab → · Contrast checker → · Palette generator →

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