#3D1990#3D1990

#3D1990 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.176 H 287.2°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#3D1990
RGBrgb(61, 25, 144)
HSLhsl(258, 70%, 33%)
HSVhsv(258, 83%, 56%)
CMYKcmyk(57.6%, 82.6%, 0%, 43.5%)
CIE-LABlab(22.66, 45.96, -58.55)
CIE-LCHlch(22.66, 74.43, 308.13°)
OKLaboklab(35.42% 0.0522 -0.1686)
OKLCHoklch(35.42% 0.176 287.2)
XYZxyz(7.3046, 3.7006, 26.7095)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1990 #6C9019
analogous
#193190 #3D1990 #781990
triadic
#3D1990 #903D19 #19903D
tetradic
#3D1990 #901931 #6C9019 #199078
square
#3D1990 #901931 #6C9019 #199078
split-complementary
#3D1990 #907819 #319019
monochromatic
#110728 #27105C #3D1990 #5322C4 #7345DF

Accessibility & contrast

On white

12.07
#3D1990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#3D1990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1990
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1990#FFFFFF#000000##FFFFFF
##3D19901.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#00338E
Tritanopia (blue-blind)
#163D55
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3d1990;
/* rgb */ color: rgb(61, 25, 144);
/* oklch */ color: oklch(35.4% 0.176 287.2);
Tailwind
colors: {
  custom: {
    50: '#7d5cb2',
    500: '#3d1990',
    950: '#000000',
  },
}
SCSS
$custom: #3d1990;
$custom-light: #7d5cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1990",
  "rgb": {
    "r": 61,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 258.151,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35423,
    "c": 0.17647,
    "h": 287.2
  },
  "luminance": 0.03701
}

Semantic roles & 50–950 ramp

primary
#3D1990
secondary
#9BC045
accent
#ED3BB7
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3D1990

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

Preview Lab → · Contrast checker → · Palette generator →

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