#2A0B34#2A0B34

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

Color values

HEX#2A0B34
RGBrgb(42, 11, 52)
HSLhsl(285, 65%, 12%)
HSVhsv(285, 79%, 20%)
CMYKcmyk(19.2%, 78.8%, 0%, 79.6%)
CIE-LABlab(8.82, 23.63, -19.86)
CIE-LCHlch(8.82, 30.87, 319.95°)
OKLaboklab(22.43% 0.0594 -0.0557)
OKLCHoklch(22.43% 0.081 316.8)
XYZxyz(1.6943, 0.9796, 3.3480)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0B34 #15340B
analogous
#160B34 #2A0B34 #340B2A
triadic
#2A0B34 #342A0B #0B342A
tetradic
#2A0B34 #34160B #15340B #0B2A34
square
#2A0B34 #34160B #15340B #0B2A34
split-complementary
#2A0B34 #2A340B #0B3416
monochromatic
#140519 #140519 #2A0B34 #531667 #7C2099

Accessibility & contrast

On white

17.56
#2A0B34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0B34
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0B34#FFFFFF#000000##FFFFFF
##2A0B341.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001735
Deuteranopia (green-blind)
#0C1A33
Tritanopia (blue-blind)
#2A131E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2a0b34;
/* rgb */ color: rgb(42, 11, 52);
/* oklch */ color: oklch(22.4% 0.081 316.8);
Tailwind
colors: {
  custom: {
    50: '#654d6c',
    500: '#2a0b34',
    950: '#000000',
  },
}
SCSS
$custom: #2a0b34;
$custom-light: #654d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0b34",
  "rgb": {
    "r": 42,
    "g": 11,
    "b": 52
  },
  "hsl": {
    "h": 285.366,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22425,
    "c": 0.08147,
    "h": 316.8
  },
  "luminance": 0.0098
}

Semantic roles & 50–950 ramp

primary
#2A0B34
secondary
#3B712A
accent
#E84069
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2A0B34

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

Preview Lab → · Contrast checker → · Palette generator →

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