#2D043B#2D043B

#2D043B is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.101 H 315.5°. Best body text is #FFFFFF at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#2D043B
RGBrgb(45, 4, 59)
HSLhsl(285, 87%, 12%)
HSVhsv(285, 93%, 23%)
CMYKcmyk(23.7%, 93.2%, 0%, 76.9%)
CIE-LABlab(8.66, 29.76, -25.18)
CIE-LCHlch(8.66, 38.98, 319.77°)
OKLaboklab(22.61% 0.0724 -0.0711)
OKLCHoklch(22.61% 0.101 315.5)
XYZxyz(1.9149, 0.9606, 4.2214)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D043B #123B04
analogous
#11043B #2D043B #3B042E
triadic
#2D043B #3B2D04 #043B2D
tetradic
#2D043B #3B1104 #123B04 #042E3B
square
#2D043B #3B1104 #123B04 #042E3B
split-complementary
#2D043B #2E3B04 #043B11
monochromatic
#16021D #16021D #2D043B #590874 #840CAE

Accessibility & contrast

On white

17.62
#2D043B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D043B
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D043B#FFFFFF#000000##FFFFFF
##2D043B1.0017.621.1917.62
#FFFFFF17.621.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173C
Deuteranopia (green-blind)
#021A3A
Tritanopia (blue-blind)
#2C1120
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2d043b;
/* rgb */ color: rgb(45, 4, 59);
/* oklch */ color: oklch(22.6% 0.101 315.5);
Tailwind
colors: {
  custom: {
    50: '#694a71',
    500: '#2d043b',
    950: '#000000',
  },
}
SCSS
$custom: #2d043b;
$custom-light: #694a71;
$custom-dark: #000000;
JSON
{
  "hex": "#2d043b",
  "rgb": {
    "r": 45,
    "g": 4,
    "b": 59
  },
  "hsl": {
    "h": 284.727,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22606,
    "c": 0.10147,
    "h": 315.5
  },
  "luminance": 0.0096
}

Semantic roles & 50–950 ramp

primary
#2D043B
secondary
#367D1E
accent
#FD2A60
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2D043B

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

Preview Lab → · Contrast checker → · Palette generator →

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