#2A0D2E#2A0D2E

#2A0D2E is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.3% C 0.071 H 322.7°. Best body text is #FFFFFF at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#2A0D2E
RGBrgb(42, 13, 46)
HSLhsl(293, 56%, 12%)
HSVhsv(293, 72%, 18%)
CMYKcmyk(8.7%, 71.7%, 0%, 82%)
CIE-LABlab(8.80, 21.02, -15.48)
CIE-LCHlch(8.80, 26.11, 323.63°)
OKLaboklab(22.27% 0.0563 -0.043)
OKLCHoklch(22.27% 0.071 322.7)
XYZxyz(1.5919, 0.9774, 2.6891)
Luminance0.0098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0D2E #112E0D
analogous
#1A0D2E #2A0D2E #2E0D22
triadic
#2A0D2E #2E2A0D #0D2E2A
tetradic
#2A0D2E #2E1A0D #112E0D #0D222E
square
#2A0D2E #2E1A0D #112E0D #0D222E
split-complementary
#2A0D2E #222E0D #0D2E1A
monochromatic
#160718 #160718 #2A0D2E #561A5E #81288D

Accessibility & contrast

On white

17.57
#2A0D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0D2E
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0D2E#FFFFFF#000000##FFFFFF
##2A0D2E1.0017.571.2017.57
#FFFFFF17.571.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07172F
Deuteranopia (green-blind)
#111A2D
Tritanopia (blue-blind)
#2B121B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2a0d2e;
/* rgb */ color: rgb(42, 13, 46);
/* oklch */ color: oklch(22.3% 0.071 322.7);
Tailwind
colors: {
  custom: {
    50: '#654d67',
    500: '#2a0d2e',
    950: '#000000',
  },
}
SCSS
$custom: #2a0d2e;
$custom-light: #654d67;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0d2e",
  "rgb": {
    "r": 42,
    "g": 13,
    "b": 46
  },
  "hsl": {
    "h": 292.727,
    "s": 55.932,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22273,
    "c": 0.07085,
    "h": 322.7
  },
  "luminance": 0.00977
}

Semantic roles & 50–950 ramp

primary
#2A0D2E
secondary
#35692E
accent
#DF495B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2A0D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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