#3D063F#3D063F

#3D063F is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.0% C 0.110 H 326.6°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#3D063F
RGBrgb(61, 6, 63)
HSLhsl(298, 83%, 14%)
HSVhsv(298, 90%, 25%)
CMYKcmyk(3.2%, 90.5%, 0%, 75.3%)
CIE-LABlab(12.49, 33.20, -21.71)
CIE-LCHlch(12.49, 39.67, 326.82°)
OKLaboklab(26.02% 0.0915 -0.0604)
OKLCHoklch(26.02% 0.11 326.6)
XYZxyz(2.8867, 1.4814, 4.8356)
Luminance0.0148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D063F #083F06
analogous
#20063F #3D063F #3F0624
triadic
#3D063F #3F3D06 #063F3D
tetradic
#3D063F #3F2006 #083F06 #06243F
square
#3D063F #3F2006 #083F06 #06243F
split-complementary
#3D063F #243F06 #063F20
monochromatic
#1B031C #1B031C #3D063F #730B77 #A911AF

Accessibility & contrast

On white

16.20
#3D063F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#3D063F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D063F
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D063F#FFFFFF#000000##FFFFFF
##3D063F1.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C40
Deuteranopia (green-blind)
#15233E
Tritanopia (blue-blind)
#3F1023
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3d063f;
/* rgb */ color: rgb(61, 6, 63);
/* oklch */ color: oklch(26.0% 0.110 326.6);
Tailwind
colors: {
  custom: {
    50: '#754e74',
    500: '#3d063f',
    950: '#000000',
  },
}
SCSS
$custom: #3d063f;
$custom-light: #754e74;
$custom-dark: #000000;
JSON
{
  "hex": "#3d063f",
  "rgb": {
    "r": 61,
    "g": 6,
    "b": 63
  },
  "hsl": {
    "h": 297.895,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.26021,
    "c": 0.10963,
    "h": 326.6
  },
  "luminance": 0.01481
}

Semantic roles & 50–950 ramp

primary
#3D063F
secondary
#257F22
accent
#F92F36
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3D063F

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

Preview Lab → · Contrast checker → · Palette generator →

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