#2F0632#2F0632

#2F0632 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.5% C 0.090 H 325.1°. Best body text is #FFFFFF at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#2F0632
RGBrgb(47, 6, 50)
HSLhsl(296, 79%, 11%)
HSVhsv(296, 88%, 20%)
CMYKcmyk(6%, 88%, 0%, 80.4%)
CIE-LABlab(8.70, 27.15, -18.54)
CIE-LCHlch(8.70, 32.88, 325.67°)
OKLaboklab(22.48% 0.0739 -0.0516)
OKLCHoklch(22.48% 0.09 325.1)
XYZxyz(1.8131, 0.9650, 3.1078)
Luminance0.0097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0632 #093206
analogous
#190632 #2F0632 #32061F
triadic
#2F0632 #322F06 #06322F
tetradic
#2F0632 #321906 #093206 #061F32
square
#2F0632 #321906 #093206 #061F32
split-complementary
#2F0632 #1F3206 #063219
monochromatic
#1A031B #1A031B #2F0632 #620D69 #96139F

Accessibility & contrast

On white

17.60
#2F0632 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0632
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0632#FFFFFF#000000##FFFFFF
##2F06321.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001633
Deuteranopia (green-blind)
#0F1B31
Tritanopia (blue-blind)
#300D1B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f0632;
/* rgb */ color: rgb(47, 6, 50);
/* oklch */ color: oklch(22.5% 0.090 325.1);
Tailwind
colors: {
  custom: {
    50: '#6a4b6a',
    500: '#2f0632',
    950: '#000000',
  },
}
SCSS
$custom: #2f0632;
$custom-light: #6a4b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0632",
  "rgb": {
    "r": 47,
    "g": 6,
    "b": 50
  },
  "hsl": {
    "h": 295.909,
    "s": 78.571,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22478,
    "c": 0.09015,
    "h": 325.1
  },
  "luminance": 0.00965
}

Semantic roles & 50–950 ramp

primary
#2F0632
secondary
#277321
accent
#F53340
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2F0632

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

Preview Lab → · Contrast checker → · Palette generator →

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