#2F0332#2F0332

#2F0332 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.1% C 0.095 H 325.3°. Best body text is #FFFFFF at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#2F0332
RGBrgb(47, 3, 50)
HSLhsl(296, 89%, 10%)
HSVhsv(296, 94%, 20%)
CMYKcmyk(6%, 94%, 0%, 80.4%)
CIE-LABlab(8.13, 28.79, -19.45)
CIE-LCHlch(8.13, 34.75, 325.96°)
OKLaboklab(22.08% 0.0784 -0.0543)
OKLCHoklch(22.08% 0.095 325.3)
XYZxyz(1.7805, 0.8999, 3.0969)
Luminance0.0090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0332 #063203
analogous
#170332 #2F0332 #32031D
triadic
#2F0332 #322F03 #03322F
tetradic
#2F0332 #321703 #063203 #031D32
square
#2F0332 #321703 #063203 #031D32
split-complementary
#2F0332 #1D3203 #033217
monochromatic
#1B021D #1B021D #2F0332 #65066C #9C0AA5

Accessibility & contrast

On white

17.80
#2F0332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2F0332 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0332
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0332#FFFFFF#000000##FFFFFF
##2F03321.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001433
Deuteranopia (green-blind)
#0D1A31
Tritanopia (blue-blind)
#300B1A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2f0332;
/* rgb */ color: rgb(47, 3, 50);
/* oklch */ color: oklch(22.1% 0.095 325.3);
Tailwind
colors: {
  custom: {
    50: '#6a496a',
    500: '#2f0332',
    950: '#000000',
  },
}
SCSS
$custom: #2f0332;
$custom-light: #6a496a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0332",
  "rgb": {
    "r": 47,
    "g": 3,
    "b": 50
  },
  "hsl": {
    "h": 296.17,
    "s": 88.679,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22075,
    "c": 0.09538,
    "h": 325.3
  },
  "luminance": 0.009
}

Semantic roles & 50–950 ramp

primary
#2F0332
secondary
#21751B
accent
#FF2937
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #2F0332

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

Preview Lab → · Contrast checker → · Palette generator →

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