#2F0A38#2F0A38

#2F0A38 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.090 H 319.0°. Best body text is #FFFFFF at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#2F0A38
RGBrgb(47, 10, 56)
HSLhsl(288, 70%, 13%)
HSVhsv(288, 82%, 22%)
CMYKcmyk(16.1%, 82.1%, 0%, 78%)
CIE-LABlab(9.85, 26.48, -21.07)
CIE-LCHlch(9.85, 33.84, 321.49°)
OKLaboklab(23.45% 0.068 -0.0591)
OKLCHoklch(23.45% 0.09 319)
XYZxyz(1.9945, 1.1070, 3.8492)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0A38 #13380A
analogous
#180A38 #2F0A38 #380A2A
triadic
#2F0A38 #382F0A #0A382F
tetradic
#2F0A38 #38180A #13380A #0A2A38
square
#2F0A38 #38180A #13380A #0A2A38
split-complementary
#2F0A38 #2A380A #0A3818
monochromatic
#16051A #16051A #2F0A38 #5B136C #861DA0

Accessibility & contrast

On white

17.19
#2F0A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2F0A38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0A38
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0A38#FFFFFF#000000##FFFFFF
##2F0A381.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f0a38;
/* rgb */ color: rgb(47, 10, 56);
/* oklch */ color: oklch(23.4% 0.090 319.0);
Tailwind
colors: {
  custom: {
    50: '#6a4d6f',
    500: '#2f0a38',
    950: '#000000',
  },
}
SCSS
$custom: #2f0a38;
$custom-light: #6a4d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0a38",
  "rgb": {
    "r": 47,
    "g": 10,
    "b": 56
  },
  "hsl": {
    "h": 288.261,
    "s": 69.697,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23447,
    "c": 0.09008,
    "h": 319
  },
  "luminance": 0.01107
}

Semantic roles & 50–950 ramp

primary
#2F0A38
secondary
#377528
accent
#ED3B5E
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2F0A38

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

Preview Lab → · Contrast checker → · Palette generator →

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