#2B0E33#2B0E33

#2B0E33 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.0% C 0.076 H 318.4°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#2B0E33
RGBrgb(43, 14, 51)
HSLhsl(287, 57%, 13%)
HSVhsv(287, 73%, 20%)
CMYKcmyk(15.7%, 72.5%, 0%, 80%)
CIE-LABlab(9.54, 21.98, -17.98)
CIE-LCHlch(9.54, 28.40, 320.72°)
OKLaboklab(22.95% 0.0565 -0.0502)
OKLCHoklch(22.95% 0.076 318.4)
XYZxyz(1.7508, 1.0668, 3.2450)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0E33 #16330E
analogous
#180E33 #2B0E33 #330E28
triadic
#2B0E33 #332B0E #0E332B
tetradic
#2B0E33 #33180E #16330E #0E2833
square
#2B0E33 #33180E #16330E #0E2833
split-complementary
#2B0E33 #28330E #0E3318
monochromatic
#140718 #140718 #2B0E33 #531B63 #7C2893

Accessibility & contrast

On white

17.31
#2B0E33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2B0E33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0E33
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0E33#FFFFFF#000000##FFFFFF
##2B0E331.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051934
Deuteranopia (green-blind)
#101C32
Tritanopia (blue-blind)
#2B141E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2b0e33;
/* rgb */ color: rgb(43, 14, 51);
/* oklch */ color: oklch(23.0% 0.076 318.4);
Tailwind
colors: {
  custom: {
    50: '#664e6b',
    500: '#2b0e33',
    950: '#000000',
  },
}
SCSS
$custom: #2b0e33;
$custom-light: #664e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0e33",
  "rgb": {
    "r": 43,
    "g": 14,
    "b": 51
  },
  "hsl": {
    "h": 287.027,
    "s": 56.923,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22954,
    "c": 0.07562,
    "h": 318.4
  },
  "luminance": 0.01067
}

Semantic roles & 50–950 ramp

primary
#2B0E33
secondary
#3D6E2F
accent
#E04869
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2B0E33

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

Preview Lab → · Contrast checker → · Palette generator →

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