#3D1D64#3D1D64

#3D1D64 is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.7% C 0.119 H 300.3°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#3D1D64
RGBrgb(61, 29, 100)
HSLhsl(267, 55%, 25%)
HSVhsv(267, 71%, 39%)
CMYKcmyk(39%, 71%, 0%, 60.8%)
CIE-LABlab(19.19, 31.38, -36.14)
CIE-LCHlch(19.19, 47.86, 310.97°)
OKLaboklab(31.71% 0.0603 -0.1029)
OKLCHoklch(31.71% 0.119 300.3)
XYZxyz(4.6635, 2.7909, 12.3471)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1D64 #44641D
analogous
#1D2164 #3D1D64 #601D64
triadic
#3D1D64 #643D1D #1D643D
tetradic
#3D1D64 #641D21 #44641D #1D6460
square
#3D1D64 #641D21 #44641D #1D6460
split-complementary
#3D1D64 #64601D #21641D
monochromatic
#0E0718 #200F35 #3D1D64 #5A2B93 #7739C3

Accessibility & contrast

On white

13.48
#3D1D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#3D1D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1D64
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1D64#FFFFFF#000000##FFFFFF
##3D1D641.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E66
Deuteranopia (green-blind)
#002E62
Tritanopia (blue-blind)
#342D3E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3d1d64;
/* rgb */ color: rgb(61, 29, 100);
/* oklch */ color: oklch(31.7% 0.119 300.3);
Tailwind
colors: {
  custom: {
    50: '#765b91',
    500: '#3d1d64',
    950: '#000000',
  },
}
SCSS
$custom: #3d1d64;
$custom-light: #765b91;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1d64",
  "rgb": {
    "r": 61,
    "g": 29,
    "b": 100
  },
  "hsl": {
    "h": 267.042,
    "s": 55.039,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31707,
    "c": 0.11924,
    "h": 300.3
  },
  "luminance": 0.02791
}

Semantic roles & 50–950 ramp

primary
#3D1D64
secondary
#739944
accent
#DE499B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040D
muted
#7B797D

Preview Lab

Preview with #3D1D64

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

Preview Lab → · Contrast checker → · Palette generator →

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