#2D083C#2D083C

#2D083C is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.2% C 0.096 H 313.9°. Best body text is #FFFFFF at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#2D083C
RGBrgb(45, 8, 60)
HSLhsl(283, 76%, 13%)
HSVhsv(283, 87%, 24%)
CMYKcmyk(25%, 86.7%, 0%, 76.5%)
CIE-LABlab(9.46, 27.92, -24.59)
CIE-LCHlch(9.46, 37.20, 318.63°)
OKLaboklab(23.2% 0.0669 -0.0695)
OKLCHoklch(23.2% 0.096 313.9)
XYZxyz(1.9845, 1.0579, 4.3737)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D083C #173C08
analogous
#13083C #2D083C #3C0831
triadic
#2D083C #3C2D08 #083C2D
tetradic
#2D083C #3C1308 #173C08 #08313C
square
#2D083C #3C1308 #173C08 #08313C
split-complementary
#2D083C #313C08 #083C13
monochromatic
#14041B #14041B #2D083C #550F72 #7E16A8

Accessibility & contrast

On white

17.33
#2D083C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D083C
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D083C#FFFFFF#000000##FFFFFF
##2D083C1.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183D
Deuteranopia (green-blind)
#051B3B
Tritanopia (blue-blind)
#2C1421
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d083c;
/* rgb */ color: rgb(45, 8, 60);
/* oklch */ color: oklch(23.2% 0.096 313.9);
Tailwind
colors: {
  custom: {
    50: '#684c72',
    500: '#2d083c',
    950: '#000000',
  },
}
SCSS
$custom: #2d083c;
$custom-light: #684c72;
$custom-dark: #000000;
JSON
{
  "hex": "#2d083c",
  "rgb": {
    "r": 45,
    "g": 8,
    "b": 60
  },
  "hsl": {
    "h": 282.692,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.232,
    "c": 0.09647,
    "h": 313.9
  },
  "luminance": 0.01058
}

Semantic roles & 50–950 ramp

primary
#2D083C
secondary
#3E7B25
accent
#F3356C
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2D083C

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

Preview Lab → · Contrast checker → · Palette generator →

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