#2F0F37#2F0F37

#2F0F37 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.0% C 0.081 H 319.1°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#2F0F37
RGBrgb(47, 15, 55)
HSLhsl(288, 57%, 14%)
HSVhsv(288, 73%, 22%)
CMYKcmyk(14.5%, 72.7%, 0%, 78.4%)
CIE-LABlab(10.72, 23.62, -18.96)
CIE-LCHlch(10.72, 30.29, 321.24°)
OKLaboklab(24.05% 0.0611 -0.0529)
OKLCHoklch(24.05% 0.081 319.1)
XYZxyz(2.0326, 1.2219, 3.7425)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0F37 #17370F
analogous
#1B0F37 #2F0F37 #370F2B
triadic
#2F0F37 #372F0F #0F372F
tetradic
#2F0F37 #371B0F #17370F #0F2B37
square
#2F0F37 #371B0F #17370F #0F2B37
split-complementary
#2F0F37 #2B370F #0F371B
monochromatic
#150718 #150718 #2F0F37 #581C67 #812997

Accessibility & contrast

On white

16.88
#2F0F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0F37
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0F37#FFFFFF#000000##FFFFFF
##2F0F371.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051B38
Deuteranopia (green-blind)
#121E36
Tritanopia (blue-blind)
#2F1621
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2f0f37;
/* rgb */ color: rgb(47, 15, 55);
/* oklch */ color: oklch(24.0% 0.081 319.1);
Tailwind
colors: {
  custom: {
    50: '#69506e',
    500: '#2f0f37',
    950: '#000000',
  },
}
SCSS
$custom: #2f0f37;
$custom-light: #69506e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0f37",
  "rgb": {
    "r": 47,
    "g": 15,
    "b": 55
  },
  "hsl": {
    "h": 288,
    "s": 57.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24046,
    "c": 0.08087,
    "h": 319.1
  },
  "luminance": 0.01222
}

Semantic roles & 50–950 ramp

primary
#2F0F37
secondary
#3D7131
accent
#E04766
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2F0F37

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

Preview Lab → · Contrast checker → · Palette generator →

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