#3D1464#3D1464

#3D1464 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.131 H 302.4°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#3D1464
RGBrgb(61, 20, 100)
HSLhsl(271, 67%, 24%)
HSVhsv(271, 80%, 39%)
CMYKcmyk(39%, 80%, 0%, 60.8%)
CIE-LABlab(17.52, 36.06, -38.85)
CIE-LCHlch(17.52, 53.01, 312.87°)
OKLaboklab(30.52% 0.0703 -0.1108)
OKLCHoklch(30.52% 0.131 302.4)
XYZxyz(4.4743, 2.4125, 12.2841)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1464 #3B6414
analogous
#151464 #3D1464 #641463
triadic
#3D1464 #643D14 #14643D
tetradic
#3D1464 #641514 #3B6414 #146364
square
#3D1464 #641514 #3B6414 #146364
split-complementary
#3D1464 #636414 #146415
monochromatic
#10051A #1E0A31 #3D1464 #5C1E97 #7B28CA

Accessibility & contrast

On white

14.16
#3D1464 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3D1464 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1464
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1464#FFFFFF#000000##FFFFFF
##3D14641.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A66
Deuteranopia (green-blind)
#002B62
Tritanopia (blue-blind)
#35283B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3d1464;
/* rgb */ color: rgb(61, 20, 100);
/* oklch */ color: oklch(30.5% 0.131 302.4);
Tailwind
colors: {
  custom: {
    50: '#775691',
    500: '#3d1464',
    950: '#000000',
  },
}
SCSS
$custom: #3d1464;
$custom-light: #775691;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1464",
  "rgb": {
    "r": 61,
    "g": 20,
    "b": 100
  },
  "hsl": {
    "h": 270.75,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30521,
    "c": 0.13121,
    "h": 302.4
  },
  "luminance": 0.02413
}

Semantic roles & 50–950 ramp

primary
#3D1464
secondary
#699B38
accent
#EA3E92
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3D1464

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

Preview Lab → · Contrast checker → · Palette generator →

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