#2F0E36#2F0E36

#2F0E36 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.8% C 0.081 H 320.2°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#2F0E36
RGBrgb(47, 14, 54)
HSLhsl(290, 59%, 13%)
HSVhsv(290, 74%, 21%)
CMYKcmyk(13%, 74.1%, 0%, 78.8%)
CIE-LABlab(10.44, 23.94, -18.67)
CIE-LCHlch(10.44, 30.36, 322.04°)
OKLaboklab(23.83% 0.0626 -0.0521)
OKLCHoklch(23.83% 0.081 320.2)
XYZxyz(1.9951, 1.1848, 3.6129)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0E36 #15360E
analogous
#1B0E36 #2F0E36 #360E29
triadic
#2F0E36 #362F0E #0E362F
tetradic
#2F0E36 #361B0E #15360E #0E2936
square
#2F0E36 #361B0E #15360E #0E2936
split-complementary
#2F0E36 #29360E #0E361B
monochromatic
#150618 #150618 #2F0E36 #591B67 #842797

Accessibility & contrast

On white

16.98
#2F0E36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0E36
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0E36#FFFFFF#000000##FFFFFF
##2F0E361.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051A37
Deuteranopia (green-blind)
#111E35
Tritanopia (blue-blind)
#2F1520
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f0e36;
/* rgb */ color: rgb(47, 14, 54);
/* oklch */ color: oklch(23.8% 0.081 320.2);
Tailwind
colors: {
  custom: {
    50: '#694f6d',
    500: '#2f0e36',
    950: '#000000',
  },
}
SCSS
$custom: #2f0e36;
$custom-light: #694f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0e36",
  "rgb": {
    "r": 47,
    "g": 14,
    "b": 54
  },
  "hsl": {
    "h": 289.5,
    "s": 58.824,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23826,
    "c": 0.08145,
    "h": 320.2
  },
  "luminance": 0.01185
}

Semantic roles & 50–950 ramp

primary
#2F0E36
secondary
#3B712F
accent
#E24661
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2F0E36

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

Preview Lab → · Contrast checker → · Palette generator →

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