#2F0D3B#2F0D3B

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

Color values

HEX#2F0D3B
RGBrgb(47, 13, 59)
HSLhsl(284, 64%, 14%)
HSVhsv(284, 78%, 23%)
CMYKcmyk(20.3%, 78%, 0%, 76.9%)
CIE-LABlab(10.62, 25.70, -22.00)
CIE-LCHlch(10.62, 33.83, 319.43°)
OKLaboklab(24.07% 0.0639 -0.0618)
OKLCHoklch(24.07% 0.089 315.9)
XYZxyz(2.1055, 1.2080, 4.2591)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0D3B #193B0D
analogous
#180D3B #2F0D3B #3B0D30
triadic
#2F0D3B #3B2F0D #0D3B2F
tetradic
#2F0D3B #3B180D #193B0D #0D303B
square
#2F0D3B #3B180D #193B0D #0D303B
split-complementary
#2F0D3B #303B0D #0D3B18
monochromatic
#140619 #140619 #2F0D3B #57186D #7F239F

Accessibility & contrast

On white

16.91
#2F0D3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0D3B
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0D3B#FFFFFF#000000##FFFFFF
##2F0D3B1.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f0d3b;
/* rgb */ color: rgb(47, 13, 59);
/* oklch */ color: oklch(24.1% 0.089 315.9);
Tailwind
colors: {
  custom: {
    50: '#694f71',
    500: '#2f0d3b',
    950: '#000000',
  },
}
SCSS
$custom: #2f0d3b;
$custom-light: #694f71;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0d3b",
  "rgb": {
    "r": 47,
    "g": 13,
    "b": 59
  },
  "hsl": {
    "h": 284.348,
    "s": 63.889,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24067,
    "c": 0.0889,
    "h": 315.9
  },
  "luminance": 0.01208
}

Semantic roles & 50–950 ramp

primary
#2F0D3B
secondary
#40772D
accent
#E7416C
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2F0D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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