#3D1E99#3D1E99

#3D1E99 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.182 H 284.6°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#3D1E99
RGBrgb(61, 30, 153)
HSLhsl(255, 67%, 36%)
HSVhsv(255, 80%, 60%)
CMYKcmyk(60.1%, 80.4%, 0%, 40%)
CIE-LABlab(24.39, 46.29, -61.25)
CIE-LCHlch(24.39, 76.78, 307.08°)
OKLaboklab(36.91% 0.046 -0.1765)
OKLCHoklch(36.91% 0.182 284.6)
XYZxyz(8.1368, 4.2200, 30.5166)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1E99 #7A991E
analogous
#1E3C99 #3D1E99 #7A1E99
triadic
#3D1E99 #993D1E #1E993D
tetradic
#3D1E99 #991E3C #7A991E #1E997A
square
#3D1E99 #991E3C #7A991E #1E997A
split-complementary
#3D1E99 #997A1E #3C991E
monochromatic
#140A33 #291466 #3D1E99 #5128CC #7754DD

Accessibility & contrast

On white

11.39
#3D1E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#3D1E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1E99
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1E99#FFFFFF#000000##FFFFFF
##3D1E991.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9C
Deuteranopia (green-blind)
#003697
Tritanopia (blue-blind)
#02435C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3d1e99;
/* rgb */ color: rgb(61, 30, 153);
/* oklch */ color: oklch(36.9% 0.182 284.6);
Tailwind
colors: {
  custom: {
    50: '#7e5fb8',
    500: '#3d1e99',
    950: '#000000',
  },
}
SCSS
$custom: #3d1e99;
$custom-light: #7e5fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1e99",
  "rgb": {
    "r": 61,
    "g": 30,
    "b": 153
  },
  "hsl": {
    "h": 255.122,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36907,
    "c": 0.18243,
    "h": 284.6
  },
  "luminance": 0.04221
}

Semantic roles & 50–950 ramp

primary
#3D1E99
secondary
#A5C152
accent
#EA3EBF
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3D1E99

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

Preview Lab → · Contrast checker → · Palette generator →

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