#2F0F38#2F0F38

#2F0F38 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.1% C 0.082 H 318.2°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#2F0F38
RGBrgb(47, 15, 56)
HSLhsl(287, 58%, 14%)
HSVhsv(287, 73%, 22%)
CMYKcmyk(16.1%, 73.2%, 0%, 78%)
CIE-LABlab(10.79, 23.87, -19.57)
CIE-LCHlch(10.79, 30.86, 320.65°)
OKLaboklab(24.12% 0.0611 -0.0547)
OKLCHoklch(24.12% 0.082 318.2)
XYZxyz(2.0568, 1.2316, 3.8700)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0F38 #18380F
analogous
#1B0F38 #2F0F38 #380F2D
triadic
#2F0F38 #382F0F #0F382F
tetradic
#2F0F38 #381B0F #18380F #0F2D38
square
#2F0F38 #381B0F #18380F #0F2D38
split-complementary
#2F0F38 #2D380F #0F381B
monochromatic
#140618 #140618 #2F0F38 #581C68 #802999

Accessibility & contrast

On white

16.85
#2F0F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0F38
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0F38#FFFFFF#000000##FFFFFF
##2F0F381.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041B39
Deuteranopia (green-blind)
#111E37
Tritanopia (blue-blind)
#2F1621
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2f0f38;
/* rgb */ color: rgb(47, 15, 56);
/* oklch */ color: oklch(24.1% 0.082 318.2);
Tailwind
colors: {
  custom: {
    50: '#69506f',
    500: '#2f0f38',
    950: '#000000',
  },
}
SCSS
$custom: #2f0f38;
$custom-light: #69506f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0f38",
  "rgb": {
    "r": 47,
    "g": 15,
    "b": 56
  },
  "hsl": {
    "h": 286.829,
    "s": 57.746,
    "l": 13.922
  },
  "oklch": {
    "l": 0.2412,
    "c": 0.08206,
    "h": 318.2
  },
  "luminance": 0.01232
}

Semantic roles & 50–950 ramp

primary
#2F0F38
secondary
#3F7230
accent
#E14769
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2F0F38

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

Preview Lab → · Contrast checker → · Palette generator →

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