#2D083D#2D083D

#2D083D is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.3% C 0.098 H 313.2°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#2D083D
RGBrgb(45, 8, 61)
HSLhsl(282, 77%, 14%)
HSVhsv(282, 87%, 24%)
CMYKcmyk(26.2%, 86.9%, 0%, 76.1%)
CIE-LABlab(9.55, 28.17, -25.17)
CIE-LCHlch(9.55, 37.78, 318.22°)
OKLaboklab(23.29% 0.0667 -0.0712)
OKLCHoklch(23.29% 0.098 313.2)
XYZxyz(2.0112, 1.0685, 4.5143)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D083D #183D08
analogous
#12083D #2D083D #3D0832
triadic
#2D083D #3D2D08 #083D2D
tetradic
#2D083D #3D1208 #183D08 #08323D
square
#2D083D #3D1208 #183D08 #08323D
split-complementary
#2D083D #323D08 #083D12
monochromatic
#14041B #14041B #2D083D #550F73 #7D16A9

Accessibility & contrast

On white

17.30
#2D083D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D083D
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D083D#FFFFFF#000000##FFFFFF
##2D083D1.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193E
Deuteranopia (green-blind)
#041B3C
Tritanopia (blue-blind)
#2B1422
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d083d;
/* rgb */ color: rgb(45, 8, 61);
/* oklch */ color: oklch(23.3% 0.098 313.2);
Tailwind
colors: {
  custom: {
    50: '#694c73',
    500: '#2d083d',
    950: '#000000',
  },
}
SCSS
$custom: #2d083d;
$custom-light: #694c73;
$custom-dark: #000000;
JSON
{
  "hex": "#2d083d",
  "rgb": {
    "r": 45,
    "g": 8,
    "b": 61
  },
  "hsl": {
    "h": 281.887,
    "s": 76.812,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23287,
    "c": 0.09756,
    "h": 313.2
  },
  "luminance": 0.01068
}

Semantic roles & 50–950 ramp

primary
#2D083D
secondary
#3F7C25
accent
#F3346E
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2D083D

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

Preview Lab → · Contrast checker → · Palette generator →

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