#2F0B3A#2F0B3A

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

Color values

HEX#2F0B3A
RGBrgb(47, 11, 58)
HSLhsl(286, 68%, 14%)
HSVhsv(286, 81%, 23%)
CMYKcmyk(19%, 81%, 0%, 77.3%)
CIE-LABlab(10.18, 26.47, -21.99)
CIE-LCHlch(10.18, 34.41, 320.29°)
OKLaboklab(23.73% 0.0666 -0.0618)
OKLCHoklch(23.73% 0.091 317.1)
XYZxyz(2.0556, 1.1493, 4.1157)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0B3A #163A0B
analogous
#170B3A #2F0B3A #3A0B2D
triadic
#2F0B3A #3A2F0B #0B3A2F
tetradic
#2F0B3A #3A170B #163A0B #0B2D3A
square
#2F0B3A #3A170B #163A0B #0B2D3A
split-complementary
#2F0B3A #2D3A0B #0B3A17
monochromatic
#15051A #15051A #2F0B3A #59156D #821FA1

Accessibility & contrast

On white

17.08
#2F0B3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0B3A
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0B3A#FFFFFF#000000##FFFFFF
##2F0B3A1.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3B
Deuteranopia (green-blind)
#0C1D39
Tritanopia (blue-blind)
#2E1421
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f0b3a;
/* rgb */ color: rgb(47, 11, 58);
/* oklch */ color: oklch(23.7% 0.091 317.1);
Tailwind
colors: {
  custom: {
    50: '#6a4e70',
    500: '#2f0b3a',
    950: '#000000',
  },
}
SCSS
$custom: #2f0b3a;
$custom-light: #6a4e70;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0b3a",
  "rgb": {
    "r": 47,
    "g": 11,
    "b": 58
  },
  "hsl": {
    "h": 285.957,
    "s": 68.116,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23728,
    "c": 0.09082,
    "h": 317.1
  },
  "luminance": 0.01149
}

Semantic roles & 50–950 ramp

primary
#2F0B3A
secondary
#3C772A
accent
#EB3D66
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2F0B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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