#2D0332#2D0332

#2D0332 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.7% C 0.094 H 323.3°. Best body text is #FFFFFF at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#2D0332
RGBrgb(45, 3, 50)
HSLhsl(294, 89%, 10%)
HSVhsv(294, 94%, 20%)
CMYKcmyk(10%, 94%, 0%, 80.4%)
CIE-LABlab(7.71, 28.32, -20.15)
CIE-LCHlch(7.71, 34.75, 324.57°)
OKLaboklab(21.7% 0.0757 -0.0564)
OKLCHoklch(21.7% 0.094 323.3)
XYZxyz(1.6904, 0.8534, 3.0927)
Luminance0.0085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0332 #083203
analogous
#150332 #2D0332 #32031F
triadic
#2D0332 #322D03 #03322D
tetradic
#2D0332 #321503 #083203 #031F32
square
#2D0332 #321503 #083203 #031F32
split-complementary
#2D0332 #1F3203 #033215
monochromatic
#1A021D #1A021D #2D0332 #61066C #950AA5

Accessibility & contrast

On white

17.94
#2D0332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2D0332 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0332
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0332#FFFFFF#000000##FFFFFF
##2D03321.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001433
Deuteranopia (green-blind)
#0A1931
Tritanopia (blue-blind)
#2E0B1A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2d0332;
/* rgb */ color: rgb(45, 3, 50);
/* oklch */ color: oklch(21.7% 0.094 323.3);
Tailwind
colors: {
  custom: {
    50: '#68486a',
    500: '#2d0332',
    950: '#000000',
  },
}
SCSS
$custom: #2d0332;
$custom-light: #68486a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0332",
  "rgb": {
    "r": 45,
    "g": 3,
    "b": 50
  },
  "hsl": {
    "h": 293.617,
    "s": 88.679,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21697,
    "c": 0.0944,
    "h": 323.3
  },
  "luminance": 0.00853
}

Semantic roles & 50–950 ramp

primary
#2D0332
secondary
#25751B
accent
#FF2940
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2D0332

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

Preview Lab → · Contrast checker → · Palette generator →

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