#2F0A32#2F0A32

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

Color values

HEX#2F0A32
RGBrgb(47, 10, 50)
HSLhsl(296, 67%, 12%)
HSVhsv(296, 80%, 20%)
CMYKcmyk(6%, 80%, 0%, 80.4%)
CIE-LABlab(9.42, 25.10, -17.40)
CIE-LCHlch(9.42, 30.54, 325.28°)
OKLaboklab(22.99% 0.0682 -0.0483)
OKLCHoklch(22.99% 0.084 324.7)
XYZxyz(1.8565, 1.0518, 3.1222)
Luminance0.0105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0A32 #0D320A
analogous
#1B0A32 #2F0A32 #320A21
triadic
#2F0A32 #322F0A #0A322F
tetradic
#2F0A32 #321B0A #0D320A #0A2132
square
#2F0A32 #321B0A #0D320A #0A2132
split-complementary
#2F0A32 #21320A #0A321B
monochromatic
#18051A #18051A #2F0A32 #5F1465 #8F1E98

Accessibility & contrast

On white

17.35
#2F0A32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0A32
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0A32#FFFFFF#000000##FFFFFF
##2F0A321.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031733
Deuteranopia (green-blind)
#111C31
Tritanopia (blue-blind)
#30101C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f0a32;
/* rgb */ color: rgb(47, 10, 50);
/* oklch */ color: oklch(23.0% 0.084 324.7);
Tailwind
colors: {
  custom: {
    50: '#694d6a',
    500: '#2f0a32',
    950: '#000000',
  },
}
SCSS
$custom: #2f0a32;
$custom-light: #694d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0a32",
  "rgb": {
    "r": 47,
    "g": 10,
    "b": 50
  },
  "hsl": {
    "h": 295.5,
    "s": 66.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22993,
    "c": 0.08363,
    "h": 324.7
  },
  "luminance": 0.01052
}

Semantic roles & 50–950 ramp

primary
#2F0A32
secondary
#2E6F28
accent
#EA3E4B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2F0A32

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

Preview Lab → · Contrast checker → · Palette generator →

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