#2F0B35#2F0B35

#2F0B35 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.3% C 0.085 H 321.6°. Best body text is #FFFFFF at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#2F0B35
RGBrgb(47, 11, 53)
HSLhsl(291, 66%, 13%)
HSVhsv(291, 79%, 21%)
CMYKcmyk(11.3%, 79.2%, 0%, 79.2%)
CIE-LABlab(9.80, 25.29, -18.97)
CIE-LCHlch(9.80, 31.61, 323.13°)
OKLaboklab(23.34% 0.0669 -0.0529)
OKLCHoklch(23.34% 0.085 321.6)
XYZxyz(1.9345, 1.1008, 3.4781)
Luminance0.0110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0B35 #11350B
analogous
#1A0B35 #2F0B35 #350B26
triadic
#2F0B35 #352F0B #0B352F
tetradic
#2F0B35 #351A0B #11350B #0B2635
square
#2F0B35 #351A0B #11350B #0B2635
split-complementary
#2F0B35 #26350B #0B351A
monochromatic
#160519 #160519 #2F0B35 #5C1668 #89209A

Accessibility & contrast

On white

17.21
#2F0B35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0B35
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0B35#FFFFFF#000000##FFFFFF
##2F0B351.0017.211.2217.21
#FFFFFF17.211.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021836
Deuteranopia (green-blind)
#101C34
Tritanopia (blue-blind)
#30121E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f0b35;
/* rgb */ color: rgb(47, 11, 53);
/* oklch */ color: oklch(23.3% 0.085 321.6);
Tailwind
colors: {
  custom: {
    50: '#694d6c',
    500: '#2f0b35',
    950: '#000000',
  },
}
SCSS
$custom: #2f0b35;
$custom-light: #694d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0b35",
  "rgb": {
    "r": 47,
    "g": 11,
    "b": 53
  },
  "hsl": {
    "h": 291.429,
    "s": 65.625,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23341,
    "c": 0.08529,
    "h": 321.6
  },
  "luminance": 0.01101
}

Semantic roles & 50–950 ramp

primary
#2F0B35
secondary
#34722A
accent
#E93F57
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2F0B35

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

Preview Lab → · Contrast checker → · Palette generator →

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