#2F0E37#2F0E37

#2F0E37 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.9% C 0.083 H 319.3°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#2F0E37
RGBrgb(47, 14, 55)
HSLhsl(288, 59%, 14%)
HSVhsv(288, 75%, 22%)
CMYKcmyk(14.5%, 74.5%, 0%, 78.4%)
CIE-LABlab(10.52, 24.18, -19.28)
CIE-LCHlch(10.52, 30.93, 321.43°)
OKLaboklab(23.9% 0.0626 -0.0539)
OKLCHoklch(23.9% 0.083 319.3)
XYZxyz(2.0188, 1.1943, 3.7379)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0E37 #16370E
analogous
#1A0E37 #2F0E37 #370E2A
triadic
#2F0E37 #372F0E #0E372F
tetradic
#2F0E37 #371A0E #16370E #0E2A37
square
#2F0E37 #371A0E #16370E #0E2A37
split-complementary
#2F0E37 #2A370E #0E371A
monochromatic
#150618 #150618 #2F0E37 #591A68 #822799

Accessibility & contrast

On white

16.95
#2F0E37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0E37
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0E37#FFFFFF#000000##FFFFFF
##2F0E371.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041A38
Deuteranopia (green-blind)
#111E36
Tritanopia (blue-blind)
#2F1520
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f0e37;
/* rgb */ color: rgb(47, 14, 55);
/* oklch */ color: oklch(23.9% 0.083 319.3);
Tailwind
colors: {
  custom: {
    50: '#694f6e',
    500: '#2f0e37',
    950: '#000000',
  },
}
SCSS
$custom: #2f0e37;
$custom-light: #694f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0e37",
  "rgb": {
    "r": 47,
    "g": 14,
    "b": 55
  },
  "hsl": {
    "h": 288.293,
    "s": 59.42,
    "l": 13.529
  },
  "oklch": {
    "l": 0.239,
    "c": 0.08261,
    "h": 319.3
  },
  "luminance": 0.01194
}

Semantic roles & 50–950 ramp

primary
#2F0E37
secondary
#3C722F
accent
#E34564
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2F0E37

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

Preview Lab → · Contrast checker → · Palette generator →

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