#2D033A#2D033A

#2D033A is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.4% C 0.102 H 316.5°. Best body text is #FFFFFF at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#2D033A
RGBrgb(45, 3, 58)
HSLhsl(286, 90%, 12%)
HSVhsv(286, 95%, 23%)
CMYKcmyk(22.4%, 94.8%, 0%, 77.3%)
CIE-LABlab(8.38, 30.09, -24.90)
CIE-LCHlch(8.38, 39.06, 320.39°)
OKLaboklab(22.39% 0.074 -0.0703)
OKLCHoklch(22.39% 0.102 316.5)
XYZxyz(1.8784, 0.9286, 4.0825)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D033A #103A03
analogous
#12033A #2D033A #3A032C
triadic
#2D033A #3A2D03 #033A2D
tetradic
#2D033A #3A1203 #103A03 #032C3A
square
#2D033A #3A1203 #103A03 #032C3A
split-complementary
#2D033A #2C3A03 #033A12
monochromatic
#17021D #17021D #2D033A #5A0674 #8709AE

Accessibility & contrast

On white

17.71
#2D033A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D033A
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D033A#FFFFFF#000000##FFFFFF
##2D033A1.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163B
Deuteranopia (green-blind)
#031939
Tritanopia (blue-blind)
#2C101F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2d033a;
/* rgb */ color: rgb(45, 3, 58);
/* oklch */ color: oklch(22.4% 0.102 316.5);
Tailwind
colors: {
  custom: {
    50: '#694970',
    500: '#2d033a',
    950: '#000000',
  },
}
SCSS
$custom: #2d033a;
$custom-light: #694970;
$custom-dark: #000000;
JSON
{
  "hex": "#2d033a",
  "rgb": {
    "r": 45,
    "g": 3,
    "b": 58
  },
  "hsl": {
    "h": 285.818,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22385,
    "c": 0.10209,
    "h": 316.5
  },
  "luminance": 0.00929
}

Semantic roles & 50–950 ramp

primary
#2D033A
secondary
#337D1C
accent
#FF295B
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D033A

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

Preview Lab → · Contrast checker → · Palette generator →

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