#2F0D37#2F0D37

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

Color values

HEX#2F0D37
RGBrgb(47, 13, 55)
HSLhsl(289, 62%, 13%)
HSVhsv(289, 76%, 22%)
CMYKcmyk(14.5%, 76.4%, 0%, 78.4%)
CIE-LABlab(10.32, 24.72, -19.60)
CIE-LCHlch(10.32, 31.55, 321.60°)
OKLaboklab(23.76% 0.0641 -0.0548)
OKLCHoklch(23.76% 0.084 319.5)
XYZxyz(2.0057, 1.1681, 3.7335)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0D37 #15370D
analogous
#1A0D37 #2F0D37 #370D2A
triadic
#2F0D37 #372F0D #0D372F
tetradic
#2F0D37 #371A0D #15370D #0D2A37
square
#2F0D37 #371A0D #15370D #0D2A37
split-complementary
#2F0D37 #2A370D #0D371A
monochromatic
#150619 #150619 #2F0D37 #591968 #84249A

Accessibility & contrast

On white

17.02
#2F0D37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2F0D37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0D37
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0D37#FFFFFF#000000##FFFFFF
##2F0D371.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021A38
Deuteranopia (green-blind)
#101D36
Tritanopia (blue-blind)
#2F1420
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f0d37;
/* rgb */ color: rgb(47, 13, 55);
/* oklch */ color: oklch(23.8% 0.084 319.5);
Tailwind
colors: {
  custom: {
    50: '#694e6e',
    500: '#2f0d37',
    950: '#000000',
  },
}
SCSS
$custom: #2f0d37;
$custom-light: #694e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0d37",
  "rgb": {
    "r": 47,
    "g": 13,
    "b": 55
  },
  "hsl": {
    "h": 288.571,
    "s": 61.765,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23759,
    "c": 0.08429,
    "h": 319.5
  },
  "luminance": 0.01168
}

Semantic roles & 50–950 ramp

primary
#2F0D37
secondary
#3B722D
accent
#E54362
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2F0D37

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

Preview Lab → · Contrast checker → · Palette generator →

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