#2D073E#2D073E

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

Color values

HEX#2D073E
RGBrgb(45, 7, 62)
HSLhsl(281, 80%, 14%)
HSVhsv(281, 89%, 24%)
CMYKcmyk(27.4%, 88.7%, 0%, 75.7%)
CIE-LABlab(9.46, 28.91, -26.03)
CIE-LCHlch(9.46, 38.90, 318.01°)
OKLaboklab(23.25% 0.0677 -0.0737)
OKLCHoklch(23.25% 0.1 312.6)
XYZxyz(2.0275, 1.0577, 4.6538)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D073E #183E07
analogous
#11073E #2D073E #3E0733
triadic
#2D073E #3E2D07 #073E2D
tetradic
#2D073E #3E1107 #183E07 #07333E
square
#2D073E #3E1107 #183E07 #07333E
split-complementary
#2D073E #333E07 #073E11
monochromatic
#14031B #14031B #2D073E #550D75 #7D13AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D073E#FFFFFF#000000##FFFFFF
##2D073E1.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)
#00193F
Deuteranopia (green-blind)
#021B3D
Tritanopia (blue-blind)
#2B1422
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d073e;
/* rgb */ color: rgb(45, 7, 62);
/* oklch */ color: oklch(23.3% 0.100 312.6);
Tailwind
colors: {
  custom: {
    50: '#694c74',
    500: '#2d073e',
    950: '#000000',
  },
}
SCSS
$custom: #2d073e;
$custom-light: #694c74;
$custom-dark: #000000;
JSON
{
  "hex": "#2d073e",
  "rgb": {
    "r": 45,
    "g": 7,
    "b": 62
  },
  "hsl": {
    "h": 281.455,
    "s": 79.71,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23253,
    "c": 0.10007,
    "h": 312.6
  },
  "luminance": 0.01058
}

Semantic roles & 50–950 ramp

primary
#2D073E
secondary
#3F7D24
accent
#F6326E
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2D073E

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

Preview Lab → · Contrast checker → · Palette generator →

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