#2F0A3B#2F0A3B

#2F0A3B is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.7% C 0.093 H 316.5°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#2F0A3B
RGBrgb(47, 10, 59)
HSLhsl(285, 71%, 14%)
HSVhsv(285, 83%, 23%)
CMYKcmyk(20.3%, 83.1%, 0%, 76.9%)
CIE-LABlab(10.09, 27.19, -22.85)
CIE-LCHlch(10.09, 35.52, 319.96°)
OKLaboklab(23.69% 0.0677 -0.0643)
OKLCHoklch(23.69% 0.093 316.5)
XYZxyz(2.0701, 1.1373, 4.2473)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0A3B #163B0A
analogous
#160A3B #2F0A3B #3B0A2E
triadic
#2F0A3B #3B2F0A #0A3B2F
tetradic
#2F0A3B #3B160A #163B0A #0A2E3B
square
#2F0A3B #3B160A #163B0A #0A2E3B
split-complementary
#2F0A3B #2E3B0A #0A3B16
monochromatic
#15041A #15041A #2F0A3B #59136F #821CA4

Accessibility & contrast

On white

17.11
#2F0A3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2F0A3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0A3B
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0A3B#FFFFFF#000000##FFFFFF
##2F0A3B1.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193C
Deuteranopia (green-blind)
#0A1D3A
Tritanopia (blue-blind)
#2E1421
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f0a3b;
/* rgb */ color: rgb(47, 10, 59);
/* oklch */ color: oklch(23.7% 0.093 316.5);
Tailwind
colors: {
  custom: {
    50: '#6a4d71',
    500: '#2f0a3b',
    950: '#000000',
  },
}
SCSS
$custom: #2f0a3b;
$custom-light: #6a4d71;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0a3b",
  "rgb": {
    "r": 47,
    "g": 10,
    "b": 59
  },
  "hsl": {
    "h": 285.306,
    "s": 71.014,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23688,
    "c": 0.09337,
    "h": 316.5
  },
  "luminance": 0.01137
}

Semantic roles & 50–950 ramp

primary
#2F0A3B
secondary
#3C7828
accent
#EE3A66
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #2F0A3B

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

Preview Lab → · Contrast checker → · Palette generator →

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