#2A0C2F#2A0C2F

#2A0C2F is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.2% C 0.074 H 321.7°. Best body text is #FFFFFF at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#2A0C2F
RGBrgb(42, 12, 47)
HSLhsl(291, 59%, 12%)
HSVhsv(291, 74%, 18%)
CMYKcmyk(10.6%, 74.5%, 0%, 81.6%)
CIE-LABlab(8.66, 21.84, -16.45)
CIE-LCHlch(8.66, 27.34, 323.02°)
OKLaboklab(22.19% 0.058 -0.0458)
OKLCHoklch(22.19% 0.074 321.7)
XYZxyz(1.5994, 0.9605, 2.7899)
Luminance0.0096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0C2F #112F0C
analogous
#190C2F #2A0C2F #2F0C23
triadic
#2A0C2F #2F2A0C #0C2F2A
tetradic
#2A0C2F #2F190C #112F0C #0C232F
square
#2A0C2F #2F190C #112F0C #0C232F
split-complementary
#2A0C2F #232F0C #0C2F19
monochromatic
#160618 #160618 #2A0C2F #561860 #812591

Accessibility & contrast

On white

17.62
#2A0C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2A0C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0C2F
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0C2F#FFFFFF#000000##FFFFFF
##2A0C2F1.0017.621.1917.62
#FFFFFF17.621.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051730
Deuteranopia (green-blind)
#101A2E
Tritanopia (blue-blind)
#2B111C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2a0c2f;
/* rgb */ color: rgb(42, 12, 47);
/* oklch */ color: oklch(22.2% 0.074 321.7);
Tailwind
colors: {
  custom: {
    50: '#654d67',
    500: '#2a0c2f',
    950: '#000000',
  },
}
SCSS
$custom: #2a0c2f;
$custom-light: #654d67;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0c2f",
  "rgb": {
    "r": 42,
    "g": 12,
    "b": 47
  },
  "hsl": {
    "h": 291.429,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22191,
    "c": 0.07387,
    "h": 321.7
  },
  "luminance": 0.0096
}

Semantic roles & 50–950 ramp

primary
#2A0C2F
secondary
#356B2C
accent
#E3455C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2A0C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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