#2D043F#2D043F

#2D043F is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.0% C 0.105 H 312.5°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#2D043F
RGBrgb(45, 4, 63)
HSLhsl(282, 88%, 13%)
HSVhsv(282, 94%, 25%)
CMYKcmyk(28.6%, 93.7%, 0%, 75.3%)
CIE-LABlab(9.02, 30.70, -27.46)
CIE-LCHlch(9.02, 41.19, 318.20°)
OKLaboklab(22.97% 0.0712 -0.0778)
OKLCHoklch(22.97% 0.106 312.5)
XYZxyz(2.0226, 1.0037, 4.7888)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D043F #163F04
analogous
#0F043F #2D043F #3F0433
triadic
#2D043F #3F2D04 #043F2D
tetradic
#2D043F #3F0F04 #163F04 #04333F
square
#2D043F #3F0F04 #163F04 #04333F
split-complementary
#2D043F #333F04 #043F0F
monochromatic
#15021D #15021D #2D043F #560879 #7F0BB2

Accessibility & contrast

On white

17.49
#2D043F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2D043F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D043F
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D043F#FFFFFF#000000##FFFFFF
##2D043F1.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001841
Deuteranopia (green-blind)
#001A3E
Tritanopia (blue-blind)
#2B1322
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d043f;
/* rgb */ color: rgb(45, 4, 63);
/* oklch */ color: oklch(23.0% 0.105 312.5);
Tailwind
colors: {
  custom: {
    50: '#694a74',
    500: '#2d043f',
    950: '#000000',
  },
}
SCSS
$custom: #2d043f;
$custom-light: #694a74;
$custom-dark: #000000;
JSON
{
  "hex": "#2d043f",
  "rgb": {
    "r": 45,
    "g": 4,
    "b": 63
  },
  "hsl": {
    "h": 281.695,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.22973,
    "c": 0.1055,
    "h": 312.5
  },
  "luminance": 0.01004
}

Semantic roles & 50–950 ramp

primary
#2D043F
secondary
#3C801E
accent
#FE2A6A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #2D043F

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

Preview Lab → · Contrast checker → · Palette generator →

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