#3D1E90#3D1E90

#3D1E90 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.172 H 286.5°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#3D1E90
RGBrgb(61, 30, 144)
HSLhsl(256, 66%, 34%)
HSVhsv(256, 79%, 56%)
CMYKcmyk(57.6%, 79.2%, 0%, 43.5%)
CIE-LABlab(23.45, 43.66, -57.24)
CIE-LCHlch(23.45, 71.99, 307.33°)
OKLaboklab(35.98% 0.0488 -0.1648)
OKLCHoklch(35.98% 0.172 286.5)
XYZxyz(7.4213, 3.9338, 26.7484)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1E90 #71901E
analogous
#1E3890 #3D1E90 #761E90
triadic
#3D1E90 #903D1E #1E903D
tetradic
#3D1E90 #901E38 #71901E #1E9076
square
#3D1E90 #901E38 #71901E #1E9076
split-complementary
#3D1E90 #90761E #38901E
monochromatic
#12092B #28135D #3D1E90 #5229C3 #744EDA

Accessibility & contrast

On white

11.75
#3D1E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#3D1E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1E90
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1E90#FFFFFF#000000##FFFFFF
##3D1E901.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#153F56
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3d1e90;
/* rgb */ color: rgb(61, 30, 144);
/* oklch */ color: oklch(36.0% 0.172 286.5);
Tailwind
colors: {
  custom: {
    50: '#7d5eb2',
    500: '#3d1e90',
    950: '#000000',
  },
}
SCSS
$custom: #3d1e90;
$custom-light: #7d5eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1e90",
  "rgb": {
    "r": 61,
    "g": 30,
    "b": 144
  },
  "hsl": {
    "h": 256.316,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35976,
    "c": 0.17188,
    "h": 286.5
  },
  "luminance": 0.03934
}

Semantic roles & 50–950 ramp

primary
#3D1E90
secondary
#9EBD4D
accent
#E83FBA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3D1E90

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

Preview Lab → · Contrast checker → · Palette generator →

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