#2F0C35#2F0C35

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

Color values

HEX#2F0C35
RGBrgb(47, 12, 53)
HSLhsl(291, 63%, 13%)
HSVhsv(291, 77%, 21%)
CMYKcmyk(11.3%, 77.4%, 0%, 79.2%)
CIE-LABlab(9.99, 24.78, -18.68)
CIE-LCHlch(9.99, 31.03, 322.99°)
OKLaboklab(23.47% 0.0655 -0.0521)
OKLCHoklch(23.47% 0.084 321.5)
XYZxyz(1.9463, 1.1244, 3.4820)
Luminance0.0112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0C35 #12350C
analogous
#1B0C35 #2F0C35 #350C26
triadic
#2F0C35 #352F0C #0C352F
tetradic
#2F0C35 #351B0C #12350C #0C2635
square
#2F0C35 #351B0C #12350C #0C2635
split-complementary
#2F0C35 #26350C #0C351B
monochromatic
#160619 #160619 #2F0C35 #5B1767 #882399

Accessibility & contrast

On white

17.15
#2F0C35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0C35
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0C35#FFFFFF#000000##FFFFFF
##2F0C351.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031936
Deuteranopia (green-blind)
#111D34
Tritanopia (blue-blind)
#30131F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f0c35;
/* rgb */ color: rgb(47, 12, 53);
/* oklch */ color: oklch(23.5% 0.084 321.5);
Tailwind
colors: {
  custom: {
    50: '#694e6c',
    500: '#2f0c35',
    950: '#000000',
  },
}
SCSS
$custom: #2f0c35;
$custom-light: #694e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0c35",
  "rgb": {
    "r": 47,
    "g": 12,
    "b": 53
  },
  "hsl": {
    "h": 291.22,
    "s": 63.077,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23473,
    "c": 0.08368,
    "h": 321.5
  },
  "luminance": 0.01124
}

Semantic roles & 50–950 ramp

primary
#2F0C35
secondary
#36712C
accent
#E6425A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2F0C35

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

Preview Lab → · Contrast checker → · Palette generator →

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