#2F0B38#2F0B38

#2F0B38 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.6% C 0.089 H 318.9°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#2F0B38
RGBrgb(47, 11, 56)
HSLhsl(288, 67%, 13%)
HSVhsv(288, 80%, 22%)
CMYKcmyk(16.1%, 80.4%, 0%, 78%)
CIE-LABlab(10.03, 25.99, -20.79)
CIE-LCHlch(10.03, 33.28, 321.35°)
OKLaboklab(23.57% 0.0667 -0.0583)
OKLCHoklch(23.57% 0.089 318.9)
XYZxyz(2.0057, 1.1293, 3.8529)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0B38 #14380B
analogous
#180B38 #2F0B38 #380B2A
triadic
#2F0B38 #382F0B #0B382F
tetradic
#2F0B38 #38180B #14380B #0B2A38
square
#2F0B38 #38180B #14380B #0B2A38
split-complementary
#2F0B38 #2A380B #0B3818
monochromatic
#15051A #15051A #2F0B38 #5A156B #851F9E

Accessibility & contrast

On white

17.13
#2F0B38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0B38
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0B38#FFFFFF#000000##FFFFFF
##2F0B381.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001939
Deuteranopia (green-blind)
#0E1D37
Tritanopia (blue-blind)
#2F1320
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f0b38;
/* rgb */ color: rgb(47, 11, 56);
/* oklch */ color: oklch(23.6% 0.089 318.9);
Tailwind
colors: {
  custom: {
    50: '#694d6f',
    500: '#2f0b38',
    950: '#000000',
  },
}
SCSS
$custom: #2f0b38;
$custom-light: #694d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0b38",
  "rgb": {
    "r": 47,
    "g": 11,
    "b": 56
  },
  "hsl": {
    "h": 288,
    "s": 67.164,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23571,
    "c": 0.08859,
    "h": 318.9
  },
  "luminance": 0.01129
}

Semantic roles & 50–950 ramp

primary
#2F0B38
secondary
#39752A
accent
#EA3E60
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2F0B38

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

Preview Lab → · Contrast checker → · Palette generator →

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