#2F0B3E#2F0B3E

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

Color values

HEX#2F0B3E
RGBrgb(47, 11, 62)
HSLhsl(282, 70%, 14%)
HSVhsv(282, 82%, 24%)
CMYKcmyk(24.2%, 82.3%, 0%, 75.7%)
CIE-LABlab(10.50, 27.45, -24.34)
CIE-LCHlch(10.50, 36.69, 318.44°)
OKLaboklab(24.06% 0.0661 -0.0687)
OKLCHoklch(24.06% 0.095 313.9)
XYZxyz(2.1613, 1.1916, 4.6726)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0B3E #1A3E0B
analogous
#160B3E #2F0B3E #3E0B34
triadic
#2F0B3E #3E2F0B #0B3E2F
tetradic
#2F0B3E #3E160B #1A3E0B #0B343E
square
#2F0B3E #3E160B #1A3E0B #0B343E
split-complementary
#2F0B3E #343E0B #0B3E16
monochromatic
#14051A #14051A #2F0B3E #561472 #7E1DA6

Accessibility & contrast

On white

16.96
#2F0B3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0B3E
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0B3E#FFFFFF#000000##FFFFFF
##2F0B3E1.0016.961.2416.96
#FFFFFF16.961.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3F
Deuteranopia (green-blind)
#081D3D
Tritanopia (blue-blind)
#2E1623
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f0b3e;
/* rgb */ color: rgb(47, 11, 62);
/* oklch */ color: oklch(24.1% 0.095 313.9);
Tailwind
colors: {
  custom: {
    50: '#6a4e74',
    500: '#2f0b3e',
    950: '#000000',
  },
}
SCSS
$custom: #2f0b3e;
$custom-light: #6a4e74;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0b3e",
  "rgb": {
    "r": 47,
    "g": 11,
    "b": 62
  },
  "hsl": {
    "h": 282.353,
    "s": 69.863,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24056,
    "c": 0.09531,
    "h": 313.9
  },
  "luminance": 0.01191
}

Semantic roles & 50–950 ramp

primary
#2F0B3E
secondary
#427B2A
accent
#ED3B6F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #2F0B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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