#2A0B31#2A0B31

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

Color values

HEX#2A0B31
RGBrgb(42, 11, 49)
HSLhsl(289, 63%, 12%)
HSVhsv(289, 78%, 19%)
CMYKcmyk(14.3%, 77.6%, 0%, 80.8%)
CIE-LABlab(8.60, 22.89, -18.02)
CIE-LCHlch(8.60, 29.13, 321.78°)
OKLaboklab(22.19% 0.0595 -0.0503)
OKLCHoklch(22.19% 0.078 319.8)
XYZxyz(1.6288, 0.9534, 3.0034)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0B31 #12310B
analogous
#170B31 #2A0B31 #310B25
triadic
#2A0B31 #312A0B #0B312A
tetradic
#2A0B31 #31170B #12310B #0B2531
square
#2A0B31 #31170B #12310B #0B2531
split-complementary
#2A0B31 #25310B #0B3117
monochromatic
#150619 #150619 #2A0B31 #551663 #802195

Accessibility & contrast

On white

17.64
#2A0B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0B31
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0B31#FFFFFF#000000##FFFFFF
##2A0B311.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021732
Deuteranopia (green-blind)
#0E1A30
Tritanopia (blue-blind)
#2A121C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2a0b31;
/* rgb */ color: rgb(42, 11, 49);
/* oklch */ color: oklch(22.2% 0.078 319.8);
Tailwind
colors: {
  custom: {
    50: '#654c69',
    500: '#2a0b31',
    950: '#000000',
  },
}
SCSS
$custom: #2a0b31;
$custom-light: #654c69;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0b31",
  "rgb": {
    "r": 42,
    "g": 11,
    "b": 49
  },
  "hsl": {
    "h": 288.947,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22192,
    "c": 0.07795,
    "h": 319.8
  },
  "luminance": 0.00953
}

Semantic roles & 50–950 ramp

primary
#2A0B31
secondary
#376E2A
accent
#E64160
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2A0B31

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

Preview Lab → · Contrast checker → · Palette generator →

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