#2F0A36#2F0A36

#2F0A36 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.3% C 0.088 H 320.8°. Best body text is #FFFFFF at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#2F0A36
RGBrgb(47, 10, 54)
HSLhsl(290, 69%, 13%)
HSVhsv(290, 81%, 21%)
CMYKcmyk(13%, 81.5%, 0%, 78.8%)
CIE-LABlab(9.70, 26.01, -19.86)
CIE-LCHlch(9.70, 32.72, 322.64°)
OKLaboklab(23.29% 0.0682 -0.0555)
OKLCHoklch(23.29% 0.088 320.8)
XYZxyz(1.9466, 1.0879, 3.5968)
Luminance0.0109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0A36 #11360A
analogous
#190A36 #2F0A36 #360A27
triadic
#2F0A36 #362F0A #0A362F
tetradic
#2F0A36 #36190A #11360A #0A2736
square
#2F0A36 #36190A #11360A #0A2736
split-complementary
#2F0A36 #27360A #0A3619
monochromatic
#16051A #16051A #2F0A36 #5C146A #891D9D

Accessibility & contrast

On white

17.25
#2F0A36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0A36
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0A36#FFFFFF#000000##FFFFFF
##2F0A361.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001837
Deuteranopia (green-blind)
#0F1C35
Tritanopia (blue-blind)
#2F121F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f0a36;
/* rgb */ color: rgb(47, 10, 54);
/* oklch */ color: oklch(23.3% 0.088 320.8);
Tailwind
colors: {
  custom: {
    50: '#694d6d',
    500: '#2f0a36',
    950: '#000000',
  },
}
SCSS
$custom: #2f0a36;
$custom-light: #694d6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0a36",
  "rgb": {
    "r": 47,
    "g": 10,
    "b": 54
  },
  "hsl": {
    "h": 290.455,
    "s": 68.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23292,
    "c": 0.0879,
    "h": 320.8
  },
  "luminance": 0.01088
}

Semantic roles & 50–950 ramp

primary
#2F0A36
secondary
#347328
accent
#EC3C58
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2F0A36

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

Preview Lab → · Contrast checker → · Palette generator →

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