#2F0F33#2F0F33

#2F0F33 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.8% C 0.076 H 323.1°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#2F0F33
RGBrgb(47, 15, 51)
HSLhsl(293, 55%, 13%)
HSVhsv(293, 71%, 20%)
CMYKcmyk(7.8%, 70.6%, 0%, 80%)
CIE-LABlab(10.45, 22.66, -16.49)
CIE-LCHlch(10.45, 28.03, 323.96°)
OKLaboklab(23.76% 0.0609 -0.0458)
OKLCHoklch(23.76% 0.076 323.1)
XYZxyz(1.9406, 1.1851, 3.2579)
Luminance0.0118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0F33 #13330F
analogous
#1D0F33 #2F0F33 #330F25
triadic
#2F0F33 #332F0F #0F332F
tetradic
#2F0F33 #331D0F #13330F #0F2533
square
#2F0F33 #331D0F #13330F #0F2533
split-complementary
#2F0F33 #25330F #0F331D
monochromatic
#160718 #160718 #2F0F33 #5B1D62 #862B92

Accessibility & contrast

On white

16.98
#2F0F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2F0F33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0F33
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0F33#FFFFFF#000000##FFFFFF
##2F0F331.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081A34
Deuteranopia (green-blind)
#141E32
Tritanopia (blue-blind)
#30141F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f0f33;
/* rgb */ color: rgb(47, 15, 51);
/* oklch */ color: oklch(23.8% 0.076 323.1);
Tailwind
colors: {
  custom: {
    50: '#694f6b',
    500: '#2f0f33',
    950: '#000000',
  },
}
SCSS
$custom: #2f0f33;
$custom-light: #694f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0f33",
  "rgb": {
    "r": 47,
    "g": 15,
    "b": 51
  },
  "hsl": {
    "h": 293.333,
    "s": 54.545,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23762,
    "c": 0.07621,
    "h": 323.1
  },
  "luminance": 0.01185
}

Semantic roles & 50–950 ramp

primary
#2F0F33
secondary
#376D31
accent
#DE4A5A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2F0F33

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

Preview Lab → · Contrast checker → · Palette generator →

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