#2F0C36#2F0C36

#2F0C36 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.5% C 0.085 H 320.6°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#2F0C36
RGBrgb(47, 12, 54)
HSLhsl(290, 64%, 13%)
HSVhsv(290, 78%, 21%)
CMYKcmyk(13%, 77.8%, 0%, 78.8%)
CIE-LABlab(10.06, 25.01, -19.29)
CIE-LCHlch(10.06, 31.58, 322.36°)
OKLaboklab(23.55% 0.0655 -0.0539)
OKLCHoklch(23.55% 0.085 320.6)
XYZxyz(1.9695, 1.1337, 3.6044)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0C36 #13360C
analogous
#1A0C36 #2F0C36 #360C28
triadic
#2F0C36 #362F0C #0C362F
tetradic
#2F0C36 #361A0C #13360C #0C2836
square
#2F0C36 #361A0C #13360C #0C2836
split-complementary
#2F0C36 #28360C #0C361A
monochromatic
#160619 #160619 #2F0C36 #5B1768 #86229A

Accessibility & contrast

On white

17.12
#2F0C36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0C36
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0C36#FFFFFF#000000##FFFFFF
##2F0C361.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021937
Deuteranopia (green-blind)
#101D35
Tritanopia (blue-blind)
#2F131F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f0c36;
/* rgb */ color: rgb(47, 12, 54);
/* oklch */ color: oklch(23.5% 0.085 320.6);
Tailwind
colors: {
  custom: {
    50: '#694e6d',
    500: '#2f0c36',
    950: '#000000',
  },
}
SCSS
$custom: #2f0c36;
$custom-light: #694e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0c36",
  "rgb": {
    "r": 47,
    "g": 12,
    "b": 54
  },
  "hsl": {
    "h": 290,
    "s": 63.636,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23548,
    "c": 0.0848,
    "h": 320.6
  },
  "luminance": 0.01134
}

Semantic roles & 50–950 ramp

primary
#2F0C36
secondary
#37722C
accent
#E7415D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2F0C36

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

Preview Lab → · Contrast checker → · Palette generator →

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