#3D1E92#3D1E92

#3D1E92 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.174 H 286.1°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#3D1E92
RGBrgb(61, 30, 146)
HSLhsl(256, 66%, 35%)
HSVhsv(256, 79%, 57%)
CMYKcmyk(58.2%, 79.5%, 0%, 42.7%)
CIE-LABlab(23.66, 44.24, -58.14)
CIE-LCHlch(23.66, 73.06, 307.27°)
OKLaboklab(36.18% 0.0482 -0.1674)
OKLCHoklch(36.18% 0.174 286.1)
XYZxyz(7.5755, 3.9955, 27.5606)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1E92 #73921E
analogous
#1E3992 #3D1E92 #771E92
triadic
#3D1E92 #923D1E #1E923D
tetradic
#3D1E92 #921E39 #73921E #1E9277
square
#3D1E92 #921E39 #73921E #1E9277
split-complementary
#3D1E92 #92771E #39921E
monochromatic
#13092C #28145F #3D1E92 #5228C5 #754FDB

Accessibility & contrast

On white

11.67
#3D1E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#3D1E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1E92
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1E92#FFFFFF#000000##FFFFFF
##3D1E921.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B95
Deuteranopia (green-blind)
#003590
Tritanopia (blue-blind)
#124058
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3d1e92;
/* rgb */ color: rgb(61, 30, 146);
/* oklch */ color: oklch(36.2% 0.174 286.1);
Tailwind
colors: {
  custom: {
    50: '#7d5eb3',
    500: '#3d1e92',
    950: '#000000',
  },
}
SCSS
$custom: #3d1e92;
$custom-light: #7d5eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1e92",
  "rgb": {
    "r": 61,
    "g": 30,
    "b": 146
  },
  "hsl": {
    "h": 256.034,
    "s": 65.909,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36181,
    "c": 0.17425,
    "h": 286.1
  },
  "luminance": 0.03996
}

Semantic roles & 50–950 ramp

primary
#3D1E92
secondary
#A0BE4E
accent
#E93FBB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3D1E92

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

Preview Lab → · Contrast checker → · Palette generator →

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