#2F0636#2F0636

#2F0636 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.8% C 0.094 H 321.4°. Best body text is #FFFFFF at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#2F0636
RGBrgb(47, 6, 54)
HSLhsl(291, 80%, 12%)
HSVhsv(291, 89%, 21%)
CMYKcmyk(13%, 88.9%, 0%, 78.8%)
CIE-LABlab(9.00, 28.02, -20.98)
CIE-LCHlch(9.00, 35.00, 323.17°)
OKLaboklab(22.79% 0.0735 -0.0588)
OKLCHoklch(22.79% 0.094 321.4)
XYZxyz(1.9032, 1.0010, 3.5823)
Luminance0.0100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0636 #0D3606
analogous
#170636 #2F0636 #360625
triadic
#2F0636 #362F06 #06362F
tetradic
#2F0636 #361706 #0D3606 #062536
square
#2F0636 #361706 #0D3606 #062536
split-complementary
#2F0636 #253606 #063617
monochromatic
#18031C #18031C #2F0636 #5F0C6D #8F12A4

Accessibility & contrast

On white

17.50
#2F0636 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2F0636 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0636
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0636#FFFFFF#000000##FFFFFF
##2F06361.0017.501.2017.50
#FFFFFF17.501.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001737
Deuteranopia (green-blind)
#0C1B35
Tritanopia (blue-blind)
#2F0F1D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f0636;
/* rgb */ color: rgb(47, 6, 54);
/* oklch */ color: oklch(22.8% 0.094 321.4);
Tailwind
colors: {
  custom: {
    50: '#6a4b6d',
    500: '#2f0636',
    950: '#000000',
  },
}
SCSS
$custom: #2f0636;
$custom-light: #6a4b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0636",
  "rgb": {
    "r": 47,
    "g": 6,
    "b": 54
  },
  "hsl": {
    "h": 291.25,
    "s": 80,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22791,
    "c": 0.09413,
    "h": 321.4
  },
  "luminance": 0.01001
}

Semantic roles & 50–950 ramp

primary
#2F0636
secondary
#2E7621
accent
#F6314E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #2F0636

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

Preview Lab → · Contrast checker → · Palette generator →

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