#2D053C#2D053C

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

Color values

HEX#2D053C
RGBrgb(45, 5, 60)
HSLhsl(284, 85%, 13%)
HSVhsv(284, 92%, 24%)
CMYKcmyk(25%, 91.7%, 0%, 76.5%)
CIE-LABlab(8.93, 29.46, -25.46)
CIE-LCHlch(8.93, 38.94, 319.18°)
OKLaboklab(22.82% 0.0708 -0.072)
OKLCHoklch(22.82% 0.101 314.5)
XYZxyz(1.9519, 0.9927, 4.3629)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D053C #143C05
analogous
#11053C #2D053C #3C052F
triadic
#2D053C #3C2D05 #053C2D
tetradic
#2D053C #3C1105 #143C05 #052F3C
square
#2D053C #3C1105 #143C05 #052F3C
split-complementary
#2D053C #2F3C05 #053C11
monochromatic
#15021C #15021C #2D053C #570A74 #820EAD

Accessibility & contrast

On white

17.52
#2D053C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D053C
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D053C#FFFFFF#000000##FFFFFF
##2D053C1.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173D
Deuteranopia (green-blind)
#021A3B
Tritanopia (blue-blind)
#2C1221
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2d053c;
/* rgb */ color: rgb(45, 5, 60);
/* oklch */ color: oklch(22.8% 0.101 314.5);
Tailwind
colors: {
  custom: {
    50: '#694a72',
    500: '#2d053c',
    950: '#000000',
  },
}
SCSS
$custom: #2d053c;
$custom-light: #694a72;
$custom-dark: #000000;
JSON
{
  "hex": "#2d053c",
  "rgb": {
    "r": 45,
    "g": 5,
    "b": 60
  },
  "hsl": {
    "h": 283.636,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22824,
    "c": 0.10093,
    "h": 314.5
  },
  "luminance": 0.00993
}

Semantic roles & 50–950 ramp

primary
#2D053C
secondary
#397D20
accent
#FB2D65
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2D053C

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

Preview Lab → · Contrast checker → · Palette generator →

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