#2B0C33#2B0C33

#2B0C33 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.079 H 318.8°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#2B0C33
RGBrgb(43, 12, 51)
HSLhsl(288, 62%, 12%)
HSVhsv(288, 76%, 20%)
CMYKcmyk(15.7%, 76.5%, 0%, 80%)
CIE-LABlab(9.12, 23.12, -18.64)
CIE-LCHlch(9.12, 29.70, 321.12°)
OKLaboklab(22.65% 0.0596 -0.0521)
OKLCHoklch(22.65% 0.079 318.8)
XYZxyz(1.7252, 1.0156, 3.2365)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0C33 #14330C
analogous
#170C33 #2B0C33 #330C28
triadic
#2B0C33 #332B0C #0C332B
tetradic
#2B0C33 #33170C #14330C #0C2833
square
#2B0C33 #33170C #14330C #0C2833
split-complementary
#2B0C33 #28330C #0C3317
monochromatic
#150619 #150619 #2B0C33 #551865 #7F2396

Accessibility & contrast

On white

17.45
#2B0C33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0C33
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0C33#FFFFFF#000000##FFFFFF
##2B0C331.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031834
Deuteranopia (green-blind)
#0E1B32
Tritanopia (blue-blind)
#2B131E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2b0c33;
/* rgb */ color: rgb(43, 12, 51);
/* oklch */ color: oklch(22.7% 0.079 318.8);
Tailwind
colors: {
  custom: {
    50: '#664d6b',
    500: '#2b0c33',
    950: '#000000',
  },
}
SCSS
$custom: #2b0c33;
$custom-light: #664d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0c33",
  "rgb": {
    "r": 43,
    "g": 12,
    "b": 51
  },
  "hsl": {
    "h": 287.692,
    "s": 61.905,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22654,
    "c": 0.07915,
    "h": 318.8
  },
  "luminance": 0.01016
}

Semantic roles & 50–950 ramp

primary
#2B0C33
secondary
#3A6F2C
accent
#E54364
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B0C33

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

Preview Lab → · Contrast checker → · Palette generator →

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