#2F0532#2F0532

#2F0532 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.3% C 0.092 H 325.1°. Best body text is #FFFFFF at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#2F0532
RGBrgb(47, 5, 50)
HSLhsl(296, 82%, 11%)
HSVhsv(296, 90%, 20%)
CMYKcmyk(6%, 90%, 0%, 80.4%)
CIE-LABlab(8.51, 27.68, -18.84)
CIE-LCHlch(8.51, 33.49, 325.76°)
OKLaboklab(22.35% 0.0754 -0.0525)
OKLCHoklch(22.35% 0.092 325.1)
XYZxyz(1.8022, 0.9433, 3.1041)
Luminance0.0094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0532 #083205
analogous
#180532 #2F0532 #32051E
triadic
#2F0532 #322F05 #05322F
tetradic
#2F0532 #321805 #083205 #051E32
square
#2F0532 #321805 #083205 #051E32
split-complementary
#2F0532 #1E3205 #053218
monochromatic
#1A031C #1A031C #2F0532 #630B6A #9810A1

Accessibility & contrast

On white

17.67
#2F0532 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0532
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0532#FFFFFF#000000##FFFFFF
##2F05321.0017.671.1917.67
#FFFFFF17.671.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f0532;
/* rgb */ color: rgb(47, 5, 50);
/* oklch */ color: oklch(22.3% 0.092 325.1);
Tailwind
colors: {
  custom: {
    50: '#6a4a6a',
    500: '#2f0532',
    950: '#000000',
  },
}
SCSS
$custom: #2f0532;
$custom-light: #6a4a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0532",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 50
  },
  "hsl": {
    "h": 296,
    "s": 81.818,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22346,
    "c": 0.09186,
    "h": 325.1
  },
  "luminance": 0.00943
}

Semantic roles & 50–950 ramp

primary
#2F0532
secondary
#25731F
accent
#F8303D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #2F0532

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

Preview Lab → · Contrast checker → · Palette generator →

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