#2F0D39#2F0D39

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

Color values

HEX#2F0D39
RGBrgb(47, 13, 57)
HSLhsl(286, 63%, 14%)
HSVhsv(286, 77%, 22%)
CMYKcmyk(17.5%, 77.2%, 0%, 77.6%)
CIE-LABlab(10.47, 25.20, -20.80)
CIE-LCHlch(10.47, 32.68, 320.46°)
OKLaboklab(23.91% 0.064 -0.0583)
OKLCHoklch(23.91% 0.087 317.7)
XYZxyz(2.0546, 1.1877, 3.9911)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0D39 #17390D
analogous
#190D39 #2F0D39 #390D2D
triadic
#2F0D39 #392F0D #0D392F
tetradic
#2F0D39 #39190D #17390D #0D2D39
square
#2F0D39 #39190D #17390D #0D2D39
split-complementary
#2F0D39 #2D390D #0D3919
monochromatic
#150619 #150619 #2F0D39 #58186B #81249D

Accessibility & contrast

On white

16.97
#2F0D39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0D39
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0D39#FFFFFF#000000##FFFFFF
##2F0D391.0016.971.2416.97
#FFFFFF16.971.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011A3A
Deuteranopia (green-blind)
#0E1D38
Tritanopia (blue-blind)
#2F1521
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f0d39;
/* rgb */ color: rgb(47, 13, 57);
/* oklch */ color: oklch(23.9% 0.087 317.7);
Tailwind
colors: {
  custom: {
    50: '#694f6f',
    500: '#2f0d39',
    950: '#000000',
  },
}
SCSS
$custom: #2f0d39;
$custom-light: #694f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0d39",
  "rgb": {
    "r": 47,
    "g": 13,
    "b": 57
  },
  "hsl": {
    "h": 286.364,
    "s": 62.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23911,
    "c": 0.08658,
    "h": 317.7
  },
  "luminance": 0.01188
}

Semantic roles & 50–950 ramp

primary
#2F0D39
secondary
#3D742D
accent
#E64267
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2F0D39

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

Preview Lab → · Contrast checker → · Palette generator →

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