#2D083E#2D083E

#2D083E is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.099 H 312.4°. Best body text is #FFFFFF at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#2D083E
RGBrgb(45, 8, 62)
HSLhsl(281, 77%, 14%)
HSVhsv(281, 87%, 24%)
CMYKcmyk(27.4%, 87.1%, 0%, 75.7%)
CIE-LABlab(9.64, 28.42, -25.75)
CIE-LCHlch(9.64, 38.34, 317.82°)
OKLaboklab(23.38% 0.0665 -0.0728)
OKLCHoklch(23.38% 0.099 312.4)
XYZxyz(2.0384, 1.0794, 4.6575)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D083E #193E08
analogous
#12083E #2D083E #3E0834
triadic
#2D083E #3E2D08 #083E2D
tetradic
#2D083E #3E1208 #193E08 #08343E
square
#2D083E #3E1208 #193E08 #08343E
split-complementary
#2D083E #343E08 #083E12
monochromatic
#14031B #14031B #2D083E #540F74 #7C16AA

Accessibility & contrast

On white

17.27
#2D083E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D083E
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D083E#FFFFFF#000000##FFFFFF
##2D083E1.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193F
Deuteranopia (green-blind)
#021B3D
Tritanopia (blue-blind)
#2B1523
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d083e;
/* rgb */ color: rgb(45, 8, 62);
/* oklch */ color: oklch(23.4% 0.099 312.4);
Tailwind
colors: {
  custom: {
    50: '#694c74',
    500: '#2d083e',
    950: '#000000',
  },
}
SCSS
$custom: #2d083e;
$custom-light: #694c74;
$custom-dark: #000000;
JSON
{
  "hex": "#2d083e",
  "rgb": {
    "r": 45,
    "g": 8,
    "b": 62
  },
  "hsl": {
    "h": 281.111,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23375,
    "c": 0.09866,
    "h": 312.4
  },
  "luminance": 0.01079
}

Semantic roles & 50–950 ramp

primary
#2D083E
secondary
#417D25
accent
#F43470
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2D083E

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

Preview Lab → · Contrast checker → · Palette generator →

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