#2D043A#2D043A

#2D043A is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.5% C 0.100 H 316.3°. Best body text is #FFFFFF at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#2D043A
RGBrgb(45, 4, 58)
HSLhsl(286, 87%, 12%)
HSVhsv(286, 93%, 23%)
CMYKcmyk(22.4%, 93.1%, 0%, 77.3%)
CIE-LABlab(8.57, 29.53, -24.60)
CIE-LCHlch(8.57, 38.44, 320.21°)
OKLaboklab(22.52% 0.0726 -0.0694)
OKLCHoklch(22.52% 0.1 316.3)
XYZxyz(1.8892, 0.9503, 4.0861)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D043A #113A04
analogous
#12043A #2D043A #3A042C
triadic
#2D043A #3A2D04 #043A2D
tetradic
#2D043A #3A1204 #113A04 #042C3A
square
#2D043A #3A1204 #113A04 #042C3A
split-complementary
#2D043A #2C3A04 #043A12
monochromatic
#16021D #16021D #2D043A #590873 #860CAD

Accessibility & contrast

On white

17.65
#2D043A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D043A
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D043A#FFFFFF#000000##FFFFFF
##2D043A1.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163B
Deuteranopia (green-blind)
#031A39
Tritanopia (blue-blind)
#2C101F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2d043a;
/* rgb */ color: rgb(45, 4, 58);
/* oklch */ color: oklch(22.5% 0.100 316.3);
Tailwind
colors: {
  custom: {
    50: '#694a70',
    500: '#2d043a',
    950: '#000000',
  },
}
SCSS
$custom: #2d043a;
$custom-light: #694a70;
$custom-dark: #000000;
JSON
{
  "hex": "#2d043a",
  "rgb": {
    "r": 45,
    "g": 4,
    "b": 58
  },
  "hsl": {
    "h": 285.556,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22516,
    "c": 0.10046,
    "h": 316.3
  },
  "luminance": 0.0095
}

Semantic roles & 50–950 ramp

primary
#2D043A
secondary
#357C1E
accent
#FD2B5D
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D043A

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

Preview Lab → · Contrast checker → · Palette generator →

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