#2D0335#2D0335

#2D0335 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.9% C 0.097 H 320.6°. Best body text is #FFFFFF at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#2D0335
RGBrgb(45, 3, 53)
HSLhsl(290, 89%, 11%)
HSVhsv(290, 94%, 21%)
CMYKcmyk(15.1%, 94.3%, 0%, 79.2%)
CIE-LABlab(7.95, 28.98, -21.96)
CIE-LCHlch(7.95, 36.36, 322.84°)
OKLaboklab(21.95% 0.0752 -0.0617)
OKLCHoklch(21.95% 0.097 320.6)
XYZxyz(1.7573, 0.8802, 3.4448)
Luminance0.0088 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0335 #0B3503
analogous
#140335 #2D0335 #350324
triadic
#2D0335 #352D03 #03352D
tetradic
#2D0335 #351403 #0B3503 #032435
square
#2D0335 #351403 #0B3503 #032435
split-complementary
#2D0335 #243503 #033514
monochromatic
#19021D #19021D #2D0335 #5E066F #8F0AA9

Accessibility & contrast

On white

17.86
#2D0335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0335
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0335#FFFFFF#000000##FFFFFF
##2D03351.0017.861.1817.86
#FFFFFF17.861.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001536
Deuteranopia (green-blind)
#081934
Tritanopia (blue-blind)
#2D0D1C
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2d0335;
/* rgb */ color: rgb(45, 3, 53);
/* oklch */ color: oklch(21.9% 0.097 320.6);
Tailwind
colors: {
  custom: {
    50: '#68496c',
    500: '#2d0335',
    950: '#000000',
  },
}
SCSS
$custom: #2d0335;
$custom-light: #68496c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0335",
  "rgb": {
    "r": 45,
    "g": 3,
    "b": 53
  },
  "hsl": {
    "h": 290.4,
    "s": 89.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21947,
    "c": 0.09726,
    "h": 320.6
  },
  "luminance": 0.0088
}

Semantic roles & 50–950 ramp

primary
#2D0335
secondary
#2A781C
accent
#FF294B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D0335

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

Preview Lab → · Contrast checker → · Palette generator →

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