#2F0D3A#2F0D3A

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

Color values

HEX#2F0D3A
RGBrgb(47, 13, 58)
HSLhsl(285, 63%, 14%)
HSVhsv(285, 78%, 23%)
CMYKcmyk(19%, 77.6%, 0%, 77.3%)
CIE-LABlab(10.54, 25.45, -21.40)
CIE-LCHlch(10.54, 33.25, 319.93°)
OKLaboklab(23.99% 0.0639 -0.0601)
OKLCHoklch(23.99% 0.088 316.8)
XYZxyz(2.0798, 1.1978, 4.1238)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0D3A #183A0D
analogous
#190D3A #2F0D3A #3A0D2F
triadic
#2F0D3A #3A2F0D #0D3A2F
tetradic
#2F0D3A #3A190D #183A0D #0D2F3A
square
#2F0D3A #3A190D #183A0D #0D2F3A
split-complementary
#2F0D3A #2F3A0D #0D3A19
monochromatic
#140619 #140619 #2F0D3A #58186C #80239E

Accessibility & contrast

On white

16.94
#2F0D3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0D3A
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0D3A#FFFFFF#000000##FFFFFF
##2F0D3A1.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3B
Deuteranopia (green-blind)
#0E1E39
Tritanopia (blue-blind)
#2E1622
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2f0d3a;
/* rgb */ color: rgb(47, 13, 58);
/* oklch */ color: oklch(24.0% 0.088 316.8);
Tailwind
colors: {
  custom: {
    50: '#694f70',
    500: '#2f0d3a',
    950: '#000000',
  },
}
SCSS
$custom: #2f0d3a;
$custom-light: #694f70;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0d3a",
  "rgb": {
    "r": 47,
    "g": 13,
    "b": 58
  },
  "hsl": {
    "h": 285.333,
    "s": 63.38,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23989,
    "c": 0.08774,
    "h": 316.8
  },
  "luminance": 0.01198
}

Semantic roles & 50–950 ramp

primary
#2F0D3A
secondary
#3F762D
accent
#E6416A
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2F0D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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