#2D053A#2D053A

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

Color values

HEX#2D053A
RGBrgb(45, 5, 58)
HSLhsl(285, 84%, 12%)
HSVhsv(285, 91%, 23%)
CMYKcmyk(22.4%, 91.4%, 0%, 77.3%)
CIE-LABlab(8.76, 28.99, -24.30)
CIE-LCHlch(8.76, 37.83, 320.04°)
OKLaboklab(22.65% 0.0712 -0.0686)
OKLCHoklch(22.65% 0.099 316.1)
XYZxyz(1.9001, 0.9720, 4.0897)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D053A #123A05
analogous
#13053A #2D053A #3A052D
triadic
#2D053A #3A2D05 #053A2D
tetradic
#2D053A #3A1305 #123A05 #052D3A
square
#2D053A #3A1305 #123A05 #052D3A
split-complementary
#2D053A #2D3A05 #053A13
monochromatic
#16021C #16021C #2D053A #590A72 #840FAB

Accessibility & contrast

On white

17.58
#2D053A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D053A
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D053A#FFFFFF#000000##FFFFFF
##2D053A1.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173B
Deuteranopia (green-blind)
#041A39
Tritanopia (blue-blind)
#2C111F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2d053a;
/* rgb */ color: rgb(45, 5, 58);
/* oklch */ color: oklch(22.6% 0.099 316.1);
Tailwind
colors: {
  custom: {
    50: '#694a70',
    500: '#2d053a',
    950: '#000000',
  },
}
SCSS
$custom: #2d053a;
$custom-light: #694a70;
$custom-dark: #000000;
JSON
{
  "hex": "#2d053a",
  "rgb": {
    "r": 45,
    "g": 5,
    "b": 58
  },
  "hsl": {
    "h": 285.283,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22647,
    "c": 0.09888,
    "h": 316.1
  },
  "luminance": 0.00972
}

Semantic roles & 50–950 ramp

primary
#2D053A
secondary
#367B20
accent
#FA2D60
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D053A

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

Preview Lab → · Contrast checker → · Palette generator →

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