#2D053F#2D053F

#2D053F is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.1% C 0.104 H 312.3°. Best body text is #FFFFFF at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#2D053F
RGBrgb(45, 5, 63)
HSLhsl(281, 85%, 13%)
HSVhsv(281, 92%, 25%)
CMYKcmyk(28.6%, 92.1%, 0%, 75.3%)
CIE-LABlab(9.20, 30.18, -27.16)
CIE-LCHlch(9.20, 40.60, 318.01°)
OKLaboklab(23.1% 0.07 -0.077)
OKLCHoklch(23.1% 0.104 312.3)
XYZxyz(2.0335, 1.0254, 4.7925)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D053F #173F05
analogous
#10053F #2D053F #3F0534
triadic
#2D053F #3F2D05 #053F2D
tetradic
#2D053F #3F1005 #173F05 #05343F
square
#2D053F #3F1005 #173F05 #05343F
split-complementary
#2D053F #343F05 #053F10
monochromatic
#14021C #14021C #2D053F #550978 #7E0EB0

Accessibility & contrast

On white

17.43
#2D053F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2D053F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D053F
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D053F#FFFFFF#000000##FFFFFF
##2D053F1.0017.431.2117.43
#FFFFFF17.431.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d053f;
/* rgb */ color: rgb(45, 5, 63);
/* oklch */ color: oklch(23.1% 0.104 312.3);
Tailwind
colors: {
  custom: {
    50: '#694b74',
    500: '#2d053f',
    950: '#000000',
  },
}
SCSS
$custom: #2d053f;
$custom-light: #694b74;
$custom-dark: #000000;
JSON
{
  "hex": "#2d053f",
  "rgb": {
    "r": 45,
    "g": 5,
    "b": 63
  },
  "hsl": {
    "h": 281.379,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23098,
    "c": 0.10403,
    "h": 312.3
  },
  "luminance": 0.01025
}

Semantic roles & 50–950 ramp

primary
#2D053F
secondary
#3E8020
accent
#FC2C6D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2D053F

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

Preview Lab → · Contrast checker → · Palette generator →

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