#2F0F36#2F0F36

#2F0F36 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.0% C 0.080 H 320.1°. Best body text is #FFFFFF at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#2F0F36
RGBrgb(47, 15, 54)
HSLhsl(289, 57%, 14%)
HSVhsv(289, 72%, 21%)
CMYKcmyk(13%, 72.2%, 0%, 78.8%)
CIE-LABlab(10.65, 23.38, -18.35)
CIE-LCHlch(10.65, 29.72, 321.87°)
OKLaboklab(23.97% 0.0611 -0.0512)
OKLCHoklch(23.97% 0.08 320.1)
XYZxyz(2.0089, 1.2124, 3.6175)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0F36 #16360F
analogous
#1B0F36 #2F0F36 #360F29
triadic
#2F0F36 #362F0F #0F362F
tetradic
#2F0F36 #361B0F #16360F #0F2936
square
#2F0F36 #361B0F #16360F #0F2936
split-complementary
#2F0F36 #29360F #0F361B
monochromatic
#150718 #150718 #2F0F36 #591C66 #822A96

Accessibility & contrast

On white

16.90
#2F0F36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0F36
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0F36#FFFFFF#000000##FFFFFF
##2F0F361.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061B37
Deuteranopia (green-blind)
#121E35
Tritanopia (blue-blind)
#2F1520
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2f0f36;
/* rgb */ color: rgb(47, 15, 54);
/* oklch */ color: oklch(24.0% 0.080 320.1);
Tailwind
colors: {
  custom: {
    50: '#69506d',
    500: '#2f0f36',
    950: '#000000',
  },
}
SCSS
$custom: #2f0f36;
$custom-light: #69506d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0f36",
  "rgb": {
    "r": 47,
    "g": 15,
    "b": 54
  },
  "hsl": {
    "h": 289.231,
    "s": 56.522,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23974,
    "c": 0.0797,
    "h": 320.1
  },
  "luminance": 0.01212
}

Semantic roles & 50–950 ramp

primary
#2F0F36
secondary
#3C7031
accent
#E04863
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2F0F36

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

Preview Lab → · Contrast checker → · Palette generator →

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