#3D1C90#3D1C90

#3D1C90 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.174 H 286.8°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#3D1C90
RGBrgb(61, 28, 144)
HSLhsl(257, 67%, 34%)
HSVhsv(257, 81%, 56%)
CMYKcmyk(57.6%, 80.6%, 0%, 43.5%)
CIE-LABlab(23.12, 44.61, -57.78)
CIE-LCHlch(23.12, 73.00, 307.67°)
OKLaboklab(35.75% 0.0502 -0.1664)
OKLCHoklch(35.75% 0.174 286.8)
XYZxyz(7.3723, 3.8358, 26.7321)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1C90 #6F901C
analogous
#1C3590 #3D1C90 #771C90
triadic
#3D1C90 #903D1C #1C903D
tetradic
#3D1C90 #901C35 #6F901C #1C9077
square
#3D1C90 #901C35 #6F901C #1C9077
split-complementary
#3D1C90 #90771C #35901C
monochromatic
#12082A #27125D #3D1C90 #5326C3 #744ADC

Accessibility & contrast

On white

11.88
#3D1C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#3D1C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1C90
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1C90#FFFFFF#000000##FFFFFF
##3D1C901.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#00348E
Tritanopia (blue-blind)
#163E56
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3d1c90;
/* rgb */ color: rgb(61, 28, 144);
/* oklch */ color: oklch(35.7% 0.174 286.8);
Tailwind
colors: {
  custom: {
    50: '#7d5db2',
    500: '#3d1c90',
    950: '#000000',
  },
}
SCSS
$custom: #3d1c90;
$custom-light: #7d5db2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1c90",
  "rgb": {
    "r": 61,
    "g": 28,
    "b": 144
  },
  "hsl": {
    "h": 257.069,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35746,
    "c": 0.17378,
    "h": 286.8
  },
  "luminance": 0.03836
}

Semantic roles & 50–950 ramp

primary
#3D1C90
secondary
#9DBE4A
accent
#EA3DB9
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3D1C90

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

Preview Lab → · Contrast checker → · Palette generator →

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