#2D083F#2D083F

#2D083F is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.5% C 0.100 H 311.7°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#2D083F
RGBrgb(45, 8, 63)
HSLhsl(280, 77%, 14%)
HSVhsv(280, 87%, 25%)
CMYKcmyk(28.6%, 87.3%, 0%, 75.3%)
CIE-LABlab(9.72, 28.66, -26.32)
CIE-LCHlch(9.72, 38.91, 317.45°)
OKLaboklab(23.46% 0.0663 -0.0745)
OKLCHoklch(23.46% 0.1 311.7)
XYZxyz(2.0661, 1.0905, 4.8033)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D083F #1A3F08
analogous
#12083F #2D083F #3F0836
triadic
#2D083F #3F2D08 #083F2D
tetradic
#2D083F #3F1208 #1A3F08 #08363F
square
#2D083F #3F1208 #1A3F08 #08363F
split-complementary
#2D083F #363F08 #083F12
monochromatic
#13031B #13031B #2D083F #540F75 #7B16AC

Accessibility & contrast

On white

17.24
#2D083F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2D083F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D083F
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D083F#FFFFFF#000000##FFFFFF
##2D083F1.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001941
Deuteranopia (green-blind)
#011C3E
Tritanopia (blue-blind)
#2B1523
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d083f;
/* rgb */ color: rgb(45, 8, 63);
/* oklch */ color: oklch(23.5% 0.100 311.7);
Tailwind
colors: {
  custom: {
    50: '#694c74',
    500: '#2d083f',
    950: '#000000',
  },
}
SCSS
$custom: #2d083f;
$custom-light: #694c74;
$custom-dark: #000000;
JSON
{
  "hex": "#2d083f",
  "rgb": {
    "r": 45,
    "g": 8,
    "b": 63
  },
  "hsl": {
    "h": 280.364,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23464,
    "c": 0.09976,
    "h": 311.7
  },
  "luminance": 0.0109
}

Semantic roles & 50–950 ramp

primary
#2D083F
secondary
#427E25
accent
#F43473
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2D083F

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

Preview Lab → · Contrast checker → · Palette generator →

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