#2D073C#2D073C

#2D073C is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.1% C 0.098 H 314.1°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#2D073C
RGBrgb(45, 7, 60)
HSLhsl(283, 79%, 13%)
HSVhsv(283, 88%, 24%)
CMYKcmyk(25%, 88.3%, 0%, 76.5%)
CIE-LABlab(9.29, 28.42, -24.87)
CIE-LCHlch(9.29, 37.77, 318.81°)
OKLaboklab(23.08% 0.0682 -0.0703)
OKLCHoklch(23.08% 0.098 314.1)
XYZxyz(1.9736, 1.0362, 4.3701)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D073C #163C07
analogous
#12073C #2D073C #3C0730
triadic
#2D073C #3C2D07 #073C2D
tetradic
#2D073C #3C1207 #163C07 #07303C
square
#2D073C #3C1207 #163C07 #07303C
split-complementary
#2D073C #303C07 #073C12
monochromatic
#15031B #15031B #2D073C #560D73 #7F14AA

Accessibility & contrast

On white

17.40
#2D073C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D073C
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D073C#FFFFFF#000000##FFFFFF
##2D073C1.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183D
Deuteranopia (green-blind)
#041B3B
Tritanopia (blue-blind)
#2C1321
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d073c;
/* rgb */ color: rgb(45, 7, 60);
/* oklch */ color: oklch(23.1% 0.098 314.1);
Tailwind
colors: {
  custom: {
    50: '#694b72',
    500: '#2d073c',
    950: '#000000',
  },
}
SCSS
$custom: #2d073c;
$custom-light: #694b72;
$custom-dark: #000000;
JSON
{
  "hex": "#2d073c",
  "rgb": {
    "r": 45,
    "g": 7,
    "b": 60
  },
  "hsl": {
    "h": 283.019,
    "s": 79.104,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23076,
    "c": 0.09792,
    "h": 314.1
  },
  "luminance": 0.01036
}

Semantic roles & 50–950 ramp

primary
#2D073C
secondary
#3C7B23
accent
#F6326A
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2D073C

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

Preview Lab → · Contrast checker → · Palette generator →

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