#2D063B#2D063B

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

Color values

HEX#2D063B
RGBrgb(45, 6, 59)
HSLhsl(284, 82%, 13%)
HSVhsv(284, 90%, 23%)
CMYKcmyk(23.7%, 89.8%, 0%, 76.9%)
CIE-LABlab(9.02, 28.70, -24.58)
CIE-LCHlch(9.02, 37.79, 319.42°)
OKLaboklab(22.86% 0.0697 -0.0694)
OKLCHoklch(22.86% 0.098 315.1)
XYZxyz(1.9366, 1.0040, 4.2286)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D063B #143B06
analogous
#12063B #2D063B #3B062E
triadic
#2D063B #3B2D06 #063B2D
tetradic
#2D063B #3B1206 #143B06 #062E3B
square
#2D063B #3B1206 #143B06 #062E3B
split-complementary
#2D063B #2E3B06 #063B12
monochromatic
#15031C #15031C #2D063B #570C73 #8211AA

Accessibility & contrast

On white

17.49
#2D063B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D063B
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D063B#FFFFFF#000000##FFFFFF
##2D063B1.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173C
Deuteranopia (green-blind)
#041B3A
Tritanopia (blue-blind)
#2C1220
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d063b;
/* rgb */ color: rgb(45, 6, 59);
/* oklch */ color: oklch(22.9% 0.098 315.1);
Tailwind
colors: {
  custom: {
    50: '#694b71',
    500: '#2d063b',
    950: '#000000',
  },
}
SCSS
$custom: #2d063b;
$custom-light: #694b71;
$custom-dark: #000000;
JSON
{
  "hex": "#2d063b",
  "rgb": {
    "r": 45,
    "g": 6,
    "b": 59
  },
  "hsl": {
    "h": 284.151,
    "s": 81.538,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22862,
    "c": 0.09837,
    "h": 315.1
  },
  "luminance": 0.01004
}

Semantic roles & 50–950 ramp

primary
#2D063B
secondary
#397B22
accent
#F83065
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2D063B

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

Preview Lab → · Contrast checker → · Palette generator →

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