#2D063F#2D063F

#2D063F is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.2% C 0.103 H 312.1°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#2D063F
RGBrgb(45, 6, 63)
HSLhsl(281, 83%, 14%)
HSVhsv(281, 90%, 25%)
CMYKcmyk(28.6%, 90.5%, 0%, 75.3%)
CIE-LABlab(9.38, 29.66, -26.88)
CIE-LCHlch(9.38, 40.03, 317.82°)
OKLaboklab(23.22% 0.0687 -0.0762)
OKLCHoklch(23.22% 0.103 312.1)
XYZxyz(2.0443, 1.0471, 4.7961)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D063F #183F06
analogous
#10063F #2D063F #3F0634
triadic
#2D063F #3F2D06 #063F2D
tetradic
#2D063F #3F1006 #183F06 #06343F
square
#2D063F #3F1006 #183F06 #06343F
split-complementary
#2D063F #343F06 #063F10
monochromatic
#14031C #14031C #2D063F #550B77 #7D11AF

Accessibility & contrast

On white

17.36
#2D063F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D063F
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D063F#FFFFFF#000000##FFFFFF
##2D063F1.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001841
Deuteranopia (green-blind)
#001B3E
Tritanopia (blue-blind)
#2B1423
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d063f;
/* rgb */ color: rgb(45, 6, 63);
/* oklch */ color: oklch(23.2% 0.103 312.1);
Tailwind
colors: {
  custom: {
    50: '#694b74',
    500: '#2d063f',
    950: '#000000',
  },
}
SCSS
$custom: #2d063f;
$custom-light: #694b74;
$custom-dark: #000000;
JSON
{
  "hex": "#2d063f",
  "rgb": {
    "r": 45,
    "g": 6,
    "b": 63
  },
  "hsl": {
    "h": 281.053,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23221,
    "c": 0.10258,
    "h": 312.1
  },
  "luminance": 0.01047
}

Semantic roles & 50–950 ramp

primary
#2D063F
secondary
#3F7F22
accent
#F92F6F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2D063F

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

Preview Lab → · Contrast checker → · Palette generator →

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