#2F0B33#2F0B33

#2F0B33 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.2% C 0.083 H 323.6°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#2F0B33
RGBrgb(47, 11, 51)
HSLhsl(294, 65%, 12%)
HSVhsv(294, 78%, 20%)
CMYKcmyk(7.8%, 78.4%, 0%, 80%)
CIE-LABlab(9.66, 24.83, -17.73)
CIE-LCHlch(9.66, 30.51, 324.46°)
OKLaboklab(23.19% 0.0669 -0.0493)
OKLCHoklch(23.19% 0.083 323.6)
XYZxyz(1.8894, 1.0828, 3.2408)
Luminance0.0108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0B33 #0F330B
analogous
#1B0B33 #2F0B33 #330B23
triadic
#2F0B33 #332F0B #0B332F
tetradic
#2F0B33 #331B0B #0F330B #0B2333
square
#2F0B33 #331B0B #0F330B #0B2333
split-complementary
#2F0B33 #23330B #0B331B
monochromatic
#170519 #170519 #2F0B33 #5D1665 #8C2198

Accessibility & contrast

On white

17.26
#2F0B33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0B33
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0B33#FFFFFF#000000##FFFFFF
##2F0B331.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041834
Deuteranopia (green-blind)
#111C32
Tritanopia (blue-blind)
#30111D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f0b33;
/* rgb */ color: rgb(47, 11, 51);
/* oklch */ color: oklch(23.2% 0.083 323.6);
Tailwind
colors: {
  custom: {
    50: '#694d6b',
    500: '#2f0b33',
    950: '#000000',
  },
}
SCSS
$custom: #2f0b33;
$custom-light: #694d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0b33",
  "rgb": {
    "r": 47,
    "g": 11,
    "b": 51
  },
  "hsl": {
    "h": 294,
    "s": 64.516,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23194,
    "c": 0.08311,
    "h": 323.6
  },
  "luminance": 0.01083
}

Semantic roles & 50–950 ramp

primary
#2F0B33
secondary
#31702A
accent
#E84051
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2F0B33

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

Preview Lab → · Contrast checker → · Palette generator →

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