#2D073B#2D073B

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

Color values

HEX#2D073B
RGBrgb(45, 7, 59)
HSLhsl(284, 79%, 13%)
HSVhsv(284, 88%, 23%)
CMYKcmyk(23.7%, 88.1%, 0%, 76.9%)
CIE-LABlab(9.20, 28.18, -24.29)
CIE-LCHlch(9.20, 37.21, 319.24°)
OKLaboklab(22.99% 0.0684 -0.0686)
OKLCHoklch(22.99% 0.097 314.9)
XYZxyz(1.9475, 1.0257, 4.2322)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D073B #153B07
analogous
#13073B #2D073B #3B072F
triadic
#2D073B #3B2D07 #073B2D
tetradic
#2D073B #3B1307 #153B07 #072F3B
square
#2D073B #3B1307 #153B07 #072F3B
split-complementary
#2D073B #2F3B07 #073B13
monochromatic
#15031B #15031B #2D073B #570D72 #8014A8

Accessibility & contrast

On white

17.42
#2D073B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D073B
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D073B#FFFFFF#000000##FFFFFF
##2D073B1.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d073b;
/* rgb */ color: rgb(45, 7, 59);
/* oklch */ color: oklch(23.0% 0.097 314.9);
Tailwind
colors: {
  custom: {
    50: '#684b71',
    500: '#2d073b',
    950: '#000000',
  },
}
SCSS
$custom: #2d073b;
$custom-light: #684b71;
$custom-dark: #000000;
JSON
{
  "hex": "#2d073b",
  "rgb": {
    "r": 45,
    "g": 7,
    "b": 59
  },
  "hsl": {
    "h": 283.846,
    "s": 78.788,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22989,
    "c": 0.09686,
    "h": 314.9
  },
  "luminance": 0.01026
}

Semantic roles & 50–950 ramp

primary
#2D073B
secondary
#3B7A23
accent
#F53367
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2D073B

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

Preview Lab → · Contrast checker → · Palette generator →

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