#2D073F#2D073F

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

Color values

HEX#2D073F
RGBrgb(45, 7, 63)
HSLhsl(281, 80%, 14%)
HSVhsv(281, 89%, 25%)
CMYKcmyk(28.6%, 88.9%, 0%, 75.3%)
CIE-LABlab(9.55, 29.16, -26.60)
CIE-LCHlch(9.55, 39.47, 317.63°)
OKLaboklab(23.34% 0.0675 -0.0753)
OKLCHoklch(23.34% 0.101 311.9)
XYZxyz(2.0552, 1.0688, 4.7997)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D073F #193F07
analogous
#11073F #2D073F #3F0735
triadic
#2D073F #3F2D07 #073F2D
tetradic
#2D073F #3F1107 #193F07 #07353F
square
#2D073F #3F1107 #193F07 #07353F
split-complementary
#2D073F #353F07 #073F11
monochromatic
#14031C #14031C #2D073F #540D76 #7C13AD

Accessibility & contrast

On white

17.30
#2D073F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D073F
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D073F#FFFFFF#000000##FFFFFF
##2D073F1.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001941
Deuteranopia (green-blind)
#001B3E
Tritanopia (blue-blind)
#2B1523
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d073f;
/* rgb */ color: rgb(45, 7, 63);
/* oklch */ color: oklch(23.3% 0.101 311.9);
Tailwind
colors: {
  custom: {
    50: '#694c74',
    500: '#2d073f',
    950: '#000000',
  },
}
SCSS
$custom: #2d073f;
$custom-light: #694c74;
$custom-dark: #000000;
JSON
{
  "hex": "#2d073f",
  "rgb": {
    "r": 45,
    "g": 7,
    "b": 63
  },
  "hsl": {
    "h": 280.714,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23343,
    "c": 0.10116,
    "h": 311.9
  },
  "luminance": 0.01069
}

Semantic roles & 50–950 ramp

primary
#2D073F
secondary
#417E24
accent
#F63171
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2D073F

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

Preview Lab → · Contrast checker → · Palette generator →

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