#2A0D2F#2A0D2F

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

Color values

HEX#2A0D2F
RGBrgb(42, 13, 47)
HSLhsl(291, 57%, 12%)
HSVhsv(291, 72%, 18%)
CMYKcmyk(10.6%, 72.3%, 0%, 81.6%)
CIE-LABlab(8.87, 21.26, -16.11)
CIE-LCHlch(8.87, 26.68, 322.84°)
OKLaboklab(22.34% 0.0564 -0.0448)
OKLCHoklch(22.34% 0.072 321.5)
XYZxyz(1.6118, 0.9854, 2.7941)
Luminance0.0098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0D2F #122F0D
analogous
#190D2F #2A0D2F #2F0D23
triadic
#2A0D2F #2F2A0D #0D2F2A
tetradic
#2A0D2F #2F190D #122F0D #0D232F
square
#2A0D2F #2F190D #122F0D #0D232F
split-complementary
#2A0D2F #232F0D #0D2F19
monochromatic
#150718 #150718 #2A0D2F #551A5F #80288F

Accessibility & contrast

On white

17.54
#2A0D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0D2F
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0D2F#FFFFFF#000000##FFFFFF
##2A0D2F1.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061730
Deuteranopia (green-blind)
#111A2E
Tritanopia (blue-blind)
#2B121C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2a0d2f;
/* rgb */ color: rgb(42, 13, 47);
/* oklch */ color: oklch(22.3% 0.072 321.5);
Tailwind
colors: {
  custom: {
    50: '#654d67',
    500: '#2a0d2f',
    950: '#000000',
  },
}
SCSS
$custom: #2a0d2f;
$custom-light: #654d67;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0d2f",
  "rgb": {
    "r": 42,
    "g": 13,
    "b": 47
  },
  "hsl": {
    "h": 291.176,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22344,
    "c": 0.07203,
    "h": 321.5
  },
  "luminance": 0.00985
}

Semantic roles & 50–950 ramp

primary
#2A0D2F
secondary
#376A2E
accent
#E0485E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2A0D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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