#3D0D59#3D0D59

#3D0D59 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.127 H 308.9°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#3D0D59
RGBrgb(61, 13, 89)
HSLhsl(278, 75%, 20%)
HSVhsv(278, 85%, 35%)
CMYKcmyk(31.5%, 85.4%, 0%, 65.1%)
CIE-LABlab(15.49, 36.28, -34.81)
CIE-LCHlch(15.49, 50.28, 316.18°)
OKLaboklab(28.8% 0.0798 -0.0989)
OKLCHoklch(28.8% 0.127 308.9)
XYZxyz(3.8712, 2.0013, 9.6316)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0D59 #29590D
analogous
#170D59 #3D0D59 #590D4F
triadic
#3D0D59 #593D0D #0D593D
tetradic
#3D0D59 #59170D #29590D #0D4F59
square
#3D0D59 #59170D #29590D #0D4F59
split-complementary
#3D0D59 #4F590D #0D5917
monochromatic
#12041B #180524 #3D0D59 #62158E #861DC4

Accessibility & contrast

On white

15.00
#3D0D59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3D0D59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0D59
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0D59#FFFFFF#000000##FFFFFF
##3D0D591.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255B
Deuteranopia (green-blind)
#002757
Tritanopia (blue-blind)
#392133
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3d0d59;
/* rgb */ color: rgb(61, 13, 89);
/* oklch */ color: oklch(28.8% 0.127 308.9);
Tailwind
colors: {
  custom: {
    50: '#765288',
    500: '#3d0d59',
    950: '#000000',
  },
}
SCSS
$custom: #3d0d59;
$custom-light: #765288;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0d59",
  "rgb": {
    "r": 61,
    "g": 13,
    "b": 89
  },
  "hsl": {
    "h": 277.895,
    "s": 74.51,
    "l": 20
  },
  "oklch": {
    "l": 0.28796,
    "c": 0.1271,
    "h": 308.9
  },
  "luminance": 0.02001
}

Semantic roles & 50–950 ramp

primary
#3D0D59
secondary
#54932E
accent
#F1377B
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D0D59

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

Preview Lab → · Contrast checker → · Palette generator →

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