#2F0336#2F0336

#2F0336 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.4% C 0.099 H 321.8°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#2F0336
RGBrgb(47, 3, 54)
HSLhsl(292, 89%, 11%)
HSVhsv(292, 94%, 21%)
CMYKcmyk(13%, 94.4%, 0%, 78.8%)
CIE-LABlab(8.45, 29.63, -21.87)
CIE-LCHlch(8.45, 36.83, 323.56°)
OKLaboklab(22.4% 0.0778 -0.0613)
OKLCHoklch(22.4% 0.099 321.8)
XYZxyz(1.8706, 0.9359, 3.5714)
Luminance0.0094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0336 #0A3603
analogous
#150336 #2F0336 #360323
triadic
#2F0336 #362F03 #03362F
tetradic
#2F0336 #361503 #0A3603 #032336
square
#2F0336 #361503 #0A3603 #032336
split-complementary
#2F0336 #233603 #033615
monochromatic
#19021D #19021D #2F0336 #610670 #9409AA

Accessibility & contrast

On white

17.69
#2F0336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2F0336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0336
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0336#FFFFFF#000000##FFFFFF
##2F03361.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001537
Deuteranopia (green-blind)
#091A35
Tritanopia (blue-blind)
#300D1D
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2f0336;
/* rgb */ color: rgb(47, 3, 54);
/* oklch */ color: oklch(22.4% 0.099 321.8);
Tailwind
colors: {
  custom: {
    50: '#6a496d',
    500: '#2f0336',
    950: '#000000',
  },
}
SCSS
$custom: #2f0336;
$custom-light: #6a496d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0336",
  "rgb": {
    "r": 47,
    "g": 3,
    "b": 54
  },
  "hsl": {
    "h": 291.765,
    "s": 89.474,
    "l": 11.176
  },
  "oklch": {
    "l": 0.224,
    "c": 0.0991,
    "h": 321.8
  },
  "luminance": 0.00936
}

Semantic roles & 50–950 ramp

primary
#2F0336
secondary
#29791C
accent
#FF2946
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #2F0336

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

Preview Lab → · Contrast checker → · Palette generator →

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