#2D083B#2D083B

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

Color values

HEX#2D083B
RGBrgb(45, 8, 59)
HSLhsl(284, 76%, 13%)
HSVhsv(284, 86%, 23%)
CMYKcmyk(23.7%, 86.4%, 0%, 76.9%)
CIE-LABlab(9.38, 27.67, -24.01)
CIE-LCHlch(9.38, 36.64, 319.06°)
OKLaboklab(23.11% 0.0671 -0.0677)
OKLCHoklch(23.11% 0.095 314.7)
XYZxyz(1.9583, 1.0474, 4.2358)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D083B #163B08
analogous
#13083B #2D083B #3B082F
triadic
#2D083B #3B2D08 #083B2D
tetradic
#2D083B #3B1308 #163B08 #082F3B
square
#2D083B #3B1308 #163B08 #082F3B
split-complementary
#2D083B #2F3B08 #083B13
monochromatic
#15041B #15041B #2D083B #560F71 #7F17A7

Accessibility & contrast

On white

17.36
#2D083B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D083B
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D083B#FFFFFF#000000##FFFFFF
##2D083B1.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183C
Deuteranopia (green-blind)
#061B3A
Tritanopia (blue-blind)
#2C1321
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d083b;
/* rgb */ color: rgb(45, 8, 59);
/* oklch */ color: oklch(23.1% 0.095 314.7);
Tailwind
colors: {
  custom: {
    50: '#684c71',
    500: '#2d083b',
    950: '#000000',
  },
}
SCSS
$custom: #2d083b;
$custom-light: #684c71;
$custom-dark: #000000;
JSON
{
  "hex": "#2d083b",
  "rgb": {
    "r": 45,
    "g": 8,
    "b": 59
  },
  "hsl": {
    "h": 283.529,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23113,
    "c": 0.09538,
    "h": 314.7
  },
  "luminance": 0.01047
}

Semantic roles & 50–950 ramp

primary
#2D083B
secondary
#3C7A25
accent
#F33569
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2D083B

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

Preview Lab → · Contrast checker → · Palette generator →

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