#2B0F33#2B0F33

#2B0F33 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.1% C 0.074 H 318.2°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#2B0F33
RGBrgb(43, 15, 51)
HSLhsl(287, 55%, 13%)
HSVhsv(287, 71%, 20%)
CMYKcmyk(15.7%, 70.6%, 0%, 80%)
CIE-LABlab(9.75, 21.39, -17.63)
CIE-LCHlch(9.75, 27.72, 320.49°)
OKLaboklab(23.11% 0.055 -0.0492)
OKLCHoklch(23.11% 0.074 318.2)
XYZxyz(1.7645, 1.0943, 3.2496)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0F33 #17330F
analogous
#190F33 #2B0F33 #330F29
triadic
#2B0F33 #332B0F #0F332B
tetradic
#2B0F33 #33190F #17330F #0F2933
square
#2B0F33 #33190F #17330F #0F2933
split-complementary
#2B0F33 #29330F #0F3319
monochromatic
#140718 #140718 #2B0F33 #531D62 #7B2B92

Accessibility & contrast

On white

17.23
#2B0F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2B0F33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0F33
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0F33#FFFFFF#000000##FFFFFF
##2B0F331.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061934
Deuteranopia (green-blind)
#111C32
Tritanopia (blue-blind)
#2B151F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2b0f33;
/* rgb */ color: rgb(43, 15, 51);
/* oklch */ color: oklch(23.1% 0.074 318.2);
Tailwind
colors: {
  custom: {
    50: '#664f6b',
    500: '#2b0f33',
    950: '#000000',
  },
}
SCSS
$custom: #2b0f33;
$custom-light: #664f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0f33",
  "rgb": {
    "r": 43,
    "g": 15,
    "b": 51
  },
  "hsl": {
    "h": 286.667,
    "s": 54.545,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23113,
    "c": 0.07378,
    "h": 318.2
  },
  "luminance": 0.01094
}

Semantic roles & 50–950 ramp

primary
#2B0F33
secondary
#3E6D31
accent
#DE4A6B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2B0F33

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

Preview Lab → · Contrast checker → · Palette generator →

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