#2F0F39#2F0F39

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

Color values

HEX#2F0F39
RGBrgb(47, 15, 57)
HSLhsl(286, 58%, 14%)
HSVhsv(286, 74%, 22%)
CMYKcmyk(17.5%, 73.7%, 0%, 77.6%)
CIE-LABlab(10.86, 24.11, -20.18)
CIE-LCHlch(10.86, 31.44, 320.08°)
OKLaboklab(24.2% 0.0611 -0.0565)
OKLCHoklch(24.2% 0.083 317.3)
XYZxyz(2.0815, 1.2415, 4.0001)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0F39 #19390F
analogous
#1A0F39 #2F0F39 #390F2E
triadic
#2F0F39 #392F0F #0F392F
tetradic
#2F0F39 #391A0F #19390F #0F2E39
square
#2F0F39 #391A0F #19390F #0F2E39
split-complementary
#2F0F39 #2E390F #0F391A
monochromatic
#140618 #140618 #2F0F39 #571C69 #7F299A

Accessibility & contrast

On white

16.82
#2F0F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2F0F39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0F39
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0F39#FFFFFF#000000##FFFFFF
##2F0F391.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031B3A
Deuteranopia (green-blind)
#101E38
Tritanopia (blue-blind)
#2F1622
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2f0f39;
/* rgb */ color: rgb(47, 15, 57);
/* oklch */ color: oklch(24.2% 0.083 317.3);
Tailwind
colors: {
  custom: {
    50: '#69506f',
    500: '#2f0f39',
    950: '#000000',
  },
}
SCSS
$custom: #2f0f39;
$custom-light: #69506f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0f39",
  "rgb": {
    "r": 47,
    "g": 15,
    "b": 57
  },
  "hsl": {
    "h": 285.714,
    "s": 58.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24195,
    "c": 0.08325,
    "h": 317.3
  },
  "luminance": 0.01241
}

Semantic roles & 50–950 ramp

primary
#2F0F39
secondary
#407330
accent
#E2466B
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2F0F39

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

Preview Lab → · Contrast checker → · Palette generator →

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