#2D073A#2D073A

#2D073A is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.9% C 0.096 H 315.7°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#2D073A
RGBrgb(45, 7, 58)
HSLhsl(285, 78%, 13%)
HSVhsv(285, 88%, 23%)
CMYKcmyk(22.4%, 87.9%, 0%, 77.3%)
CIE-LABlab(9.12, 27.94, -23.71)
CIE-LCHlch(9.12, 36.65, 319.69°)
OKLaboklab(22.9% 0.0686 -0.0669)
OKLCHoklch(22.9% 0.096 315.7)
XYZxyz(1.9218, 1.0154, 4.0969)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D073A #143A07
analogous
#13073A #2D073A #3A072D
triadic
#2D073A #3A2D07 #073A2D
tetradic
#2D073A #3A1307 #143A07 #072D3A
square
#2D073A #3A1307 #143A07 #072D3A
split-complementary
#2D073A #2D3A07 #073A13
monochromatic
#15031B #15031B #2D073A #570E71 #8214A7

Accessibility & contrast

On white

17.46
#2D073A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2D073A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D073A
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D073A#FFFFFF#000000##FFFFFF
##2D073A1.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d073a;
/* rgb */ color: rgb(45, 7, 58);
/* oklch */ color: oklch(22.9% 0.096 315.7);
Tailwind
colors: {
  custom: {
    50: '#684b70',
    500: '#2d073a',
    950: '#000000',
  },
}
SCSS
$custom: #2d073a;
$custom-light: #684b70;
$custom-dark: #000000;
JSON
{
  "hex": "#2d073a",
  "rgb": {
    "r": 45,
    "g": 7,
    "b": 58
  },
  "hsl": {
    "h": 284.706,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22902,
    "c": 0.09579,
    "h": 315.7
  },
  "luminance": 0.01015
}

Semantic roles & 50–950 ramp

primary
#2D073A
secondary
#397923
accent
#F53364
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D073A

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

Preview Lab → · Contrast checker → · Palette generator →

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