#2D063A#2D063A

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

Color values

HEX#2D063A
RGBrgb(45, 6, 58)
HSLhsl(285, 81%, 13%)
HSVhsv(285, 90%, 23%)
CMYKcmyk(22.4%, 89.7%, 0%, 77.3%)
CIE-LABlab(8.94, 28.46, -24.00)
CIE-LCHlch(8.94, 37.23, 319.86°)
OKLaboklab(22.78% 0.0699 -0.0677)
OKLCHoklch(22.78% 0.097 315.9)
XYZxyz(1.9109, 0.9937, 4.0933)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D063A #133A06
analogous
#13063A #2D063A #3A062D
triadic
#2D063A #3A2D06 #063A2D
tetradic
#2D063A #3A1306 #133A06 #062D3A
square
#2D063A #3A1306 #133A06 #062D3A
split-complementary
#2D063A #2D3A06 #063A13
monochromatic
#16031C #16031C #2D063A #580C71 #8311A9

Accessibility & contrast

On white

17.52
#2D063A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D063A
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D063A#FFFFFF#000000##FFFFFF
##2D063A1.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173B
Deuteranopia (green-blind)
#051A39
Tritanopia (blue-blind)
#2C1220
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2d063a;
/* rgb */ color: rgb(45, 6, 58);
/* oklch */ color: oklch(22.8% 0.097 315.9);
Tailwind
colors: {
  custom: {
    50: '#684b70',
    500: '#2d063a',
    950: '#000000',
  },
}
SCSS
$custom: #2d063a;
$custom-light: #684b70;
$custom-dark: #000000;
JSON
{
  "hex": "#2d063a",
  "rgb": {
    "r": 45,
    "g": 6,
    "b": 58
  },
  "hsl": {
    "h": 285,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22775,
    "c": 0.09732,
    "h": 315.9
  },
  "luminance": 0.00994
}

Semantic roles & 50–950 ramp

primary
#2D063A
secondary
#387A22
accent
#F83062
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D063A

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

Preview Lab → · Contrast checker → · Palette generator →

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