#2B0A33#2B0A33

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

Color values

HEX#2B0A33
RGBrgb(43, 10, 51)
HSLhsl(288, 67%, 12%)
HSVhsv(288, 80%, 20%)
CMYKcmyk(15.7%, 80.4%, 0%, 80%)
CIE-LABlab(8.74, 24.19, -19.25)
CIE-LCHlch(8.74, 30.92, 321.48°)
OKLaboklab(22.38% 0.0624 -0.0539)
OKLCHoklch(22.38% 0.082 319.2)
XYZxyz(1.7023, 0.9698, 3.2288)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0A33 #12330A
analogous
#170A33 #2B0A33 #330A27
triadic
#2B0A33 #332B0A #0A332B
tetradic
#2B0A33 #33170A #12330A #0A2733
square
#2B0A33 #33170A #12330A #0A2733
split-complementary
#2B0A33 #27330A #0A3317
monochromatic
#16051A #16051A #2B0A33 #561466 #811E99

Accessibility & contrast

On white

17.59
#2B0A33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0A33
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0A33#FFFFFF#000000##FFFFFF
##2B0A331.0017.591.1917.59
#FFFFFF17.591.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001734
Deuteranopia (green-blind)
#0D1A32
Tritanopia (blue-blind)
#2B111D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2b0a33;
/* rgb */ color: rgb(43, 10, 51);
/* oklch */ color: oklch(22.4% 0.082 319.2);
Tailwind
colors: {
  custom: {
    50: '#664c6b',
    500: '#2b0a33',
    950: '#000000',
  },
}
SCSS
$custom: #2b0a33;
$custom-light: #664c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0a33",
  "rgb": {
    "r": 43,
    "g": 10,
    "b": 51
  },
  "hsl": {
    "h": 288.293,
    "s": 67.213,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22378,
    "c": 0.08245,
    "h": 319.2
  },
  "luminance": 0.0097
}

Semantic roles & 50–950 ramp

primary
#2B0A33
secondary
#367028
accent
#EA3E5F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B0A33

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

Preview Lab → · Contrast checker → · Palette generator →

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