#2D083A#2D083A

#2D083A is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.0% C 0.094 H 315.5°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#2D083A
RGBrgb(45, 8, 58)
HSLhsl(284, 76%, 13%)
HSVhsv(284, 86%, 23%)
CMYKcmyk(22.4%, 86.2%, 0%, 77.3%)
CIE-LABlab(9.30, 27.43, -23.42)
CIE-LCHlch(9.30, 36.07, 319.51°)
OKLaboklab(23.03% 0.0673 -0.066)
OKLCHoklch(23.03% 0.094 315.5)
XYZxyz(1.9326, 1.0371, 4.1005)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D083A #153A08
analogous
#14083A #2D083A #3A082E
triadic
#2D083A #3A2D08 #083A2D
tetradic
#2D083A #3A1408 #153A08 #082E3A
square
#2D083A #3A1408 #153A08 #082E3A
split-complementary
#2D083A #2E3A08 #083A14
monochromatic
#15041B #15041B #2D083A #570F70 #8017A6

Accessibility & contrast

On white

17.39
#2D083A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D083A
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D083A#FFFFFF#000000##FFFFFF
##2D083A1.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183B
Deuteranopia (green-blind)
#071B39
Tritanopia (blue-blind)
#2C1320
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d083a;
/* rgb */ color: rgb(45, 8, 58);
/* oklch */ color: oklch(23.0% 0.094 315.5);
Tailwind
colors: {
  custom: {
    50: '#684c70',
    500: '#2d083a',
    950: '#000000',
  },
}
SCSS
$custom: #2d083a;
$custom-light: #684c70;
$custom-dark: #000000;
JSON
{
  "hex": "#2d083a",
  "rgb": {
    "r": 45,
    "g": 8,
    "b": 58
  },
  "hsl": {
    "h": 284.4,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23028,
    "c": 0.09428,
    "h": 315.5
  },
  "luminance": 0.01037
}

Semantic roles & 50–950 ramp

primary
#2D083A
secondary
#3B7925
accent
#F23567
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D083A

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

Preview Lab → · Contrast checker → · Palette generator →

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