#2F1339#2F1339

#2F1339 is a very dark, moderate purple. Relative luminance 0.014; OKLCH L 24.8% C 0.076 H 316.3°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#2F1339
RGBrgb(47, 19, 57)
HSLhsl(284, 50%, 15%)
HSVhsv(284, 67%, 22%)
CMYKcmyk(17.5%, 66.7%, 0%, 77.6%)
CIE-LABlab(11.73, 21.75, -18.80)
CIE-LCHlch(11.73, 28.75, 319.17°)
OKLaboklab(24.83% 0.055 -0.0525)
OKLCHoklch(24.83% 0.076 316.3)
XYZxyz(2.1436, 1.3656, 4.0208)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1339 #1D3913
analogous
#1C1339 #2F1339 #391330
triadic
#2F1339 #392F13 #13392F
tetradic
#2F1339 #391C13 #1D3913 #133039
square
#2F1339 #391C13 #1D3913 #133039
split-complementary
#2F1339 #303913 #13391C
monochromatic
#130817 #130817 #2F1339 #552267 #7B3295

Accessibility & contrast

On white

16.50
#2F1339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2F1339 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F1339
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1339#FFFFFF#000000##FFFFFF
##2F13391.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091D3A
Deuteranopia (green-blind)
#132038
Tritanopia (blue-blind)
#2F1923
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2f1339;
/* rgb */ color: rgb(47, 19, 57);
/* oklch */ color: oklch(24.8% 0.076 316.3);
Tailwind
colors: {
  custom: {
    50: '#69526f',
    500: '#2f1339',
    950: '#000000',
  },
}
SCSS
$custom: #2f1339;
$custom-light: #69526f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1339",
  "rgb": {
    "r": 47,
    "g": 19,
    "b": 57
  },
  "hsl": {
    "h": 284.211,
    "s": 50,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24825,
    "c": 0.07602,
    "h": 316.3
  },
  "luminance": 0.01365
}

Semantic roles & 50–950 ramp

primary
#2F1339
secondary
#467137
accent
#DA4E73
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2F1339

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

Preview Lab → · Contrast checker → · Palette generator →

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