#2D033F#2D033F

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

Color values

HEX#2D033F
RGBrgb(45, 3, 63)
HSLhsl(282, 91%, 13%)
HSVhsv(282, 95%, 25%)
CMYKcmyk(28.6%, 95.2%, 0%, 75.3%)
CIE-LABlab(8.84, 31.24, -27.75)
CIE-LCHlch(8.84, 41.78, 318.38°)
OKLaboklab(22.85% 0.0725 -0.0787)
OKLCHoklch(22.85% 0.107 312.7)
XYZxyz(2.0118, 0.9820, 4.7852)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D033F #153F03
analogous
#0F033F #2D033F #3F0333
triadic
#2D033F #3F2D03 #033F2D
tetradic
#2D033F #3F0F03 #153F03 #03333F
square
#2D033F #3F0F03 #153F03 #03333F
split-complementary
#2D033F #333F03 #033F0F
monochromatic
#15011D #15011D #2D033F #570679 #8009B4

Accessibility & contrast

On white

17.55
#2D033F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D033F
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D033F#FFFFFF#000000##FFFFFF
##2D033F1.0017.551.2017.55
#FFFFFF17.551.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001741
Deuteranopia (green-blind)
#001A3E
Tritanopia (blue-blind)
#2B1222
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2d033f;
/* rgb */ color: rgb(45, 3, 63);
/* oklch */ color: oklch(22.8% 0.107 312.7);
Tailwind
colors: {
  custom: {
    50: '#694974',
    500: '#2d033f',
    950: '#000000',
  },
}
SCSS
$custom: #2d033f;
$custom-light: #694974;
$custom-dark: #000000;
JSON
{
  "hex": "#2d033f",
  "rgb": {
    "r": 45,
    "g": 3,
    "b": 63
  },
  "hsl": {
    "h": 282,
    "s": 90.909,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22847,
    "c": 0.107,
    "h": 312.7
  },
  "luminance": 0.00982
}

Semantic roles & 50–950 ramp

primary
#2D033F
secondary
#3B811D
accent
#FF2969
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #2D033F

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

Preview Lab → · Contrast checker → · Palette generator →

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