#2F0D36#2F0D36

#2F0D36 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.7% C 0.083 H 320.4°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#2F0D36
RGBrgb(47, 13, 54)
HSLhsl(290, 61%, 13%)
HSVhsv(290, 76%, 21%)
CMYKcmyk(13%, 75.9%, 0%, 78.8%)
CIE-LABlab(10.25, 24.48, -18.99)
CIE-LCHlch(10.25, 30.98, 322.21°)
OKLaboklab(23.68% 0.0641 -0.053)
OKLCHoklch(23.68% 0.083 320.4)
XYZxyz(1.9820, 1.1586, 3.6085)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0D36 #14360D
analogous
#1A0D36 #2F0D36 #360D28
triadic
#2F0D36 #362F0D #0D362F
tetradic
#2F0D36 #361A0D #14360D #0D2836
square
#2F0D36 #361A0D #14360D #0D2836
split-complementary
#2F0D36 #28360D #0D361A
monochromatic
#150619 #150619 #2F0D36 #5A1967 #852599

Accessibility & contrast

On white

17.05
#2F0D36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0D36
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0D36#FFFFFF#000000##FFFFFF
##2F0D361.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031A37
Deuteranopia (green-blind)
#111D35
Tritanopia (blue-blind)
#2F1420
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f0d36;
/* rgb */ color: rgb(47, 13, 54);
/* oklch */ color: oklch(23.7% 0.083 320.4);
Tailwind
colors: {
  custom: {
    50: '#694e6d',
    500: '#2f0d36',
    950: '#000000',
  },
}
SCSS
$custom: #2f0d36;
$custom-light: #694e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0d36",
  "rgb": {
    "r": 47,
    "g": 13,
    "b": 54
  },
  "hsl": {
    "h": 289.756,
    "s": 61.194,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23684,
    "c": 0.08315,
    "h": 320.4
  },
  "luminance": 0.01159
}

Semantic roles & 50–950 ramp

primary
#2F0D36
secondary
#39712D
accent
#E4435F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2F0D36

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

Preview Lab → · Contrast checker → · Palette generator →

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