#3D2091#3D2091

#3D2091 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.171 H 286.0°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#3D2091
RGBrgb(61, 32, 145)
HSLhsl(255, 64%, 35%)
HSVhsv(255, 78%, 57%)
CMYKcmyk(57.9%, 77.9%, 0%, 43.1%)
CIE-LABlab(23.90, 42.96, -57.12)
CIE-LCHlch(23.90, 71.48, 306.95°)
OKLaboklab(36.32% 0.0471 -0.1645)
OKLCHoklch(36.32% 0.171 286)
XYZxyz(7.5503, 4.0690, 27.1701)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2091 #749120
analogous
#203C91 #3D2091 #762091
triadic
#3D2091 #913D20 #20913D
tetradic
#3D2091 #91203C #749120 #209176
square
#3D2091 #91203C #749120 #209176
split-complementary
#3D2091 #917620 #3C9120
monochromatic
#130A2D #28155F #3D2091 #522BC3 #7552D9

Accessibility & contrast

On white

11.58
#3D2091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#3D2091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2091
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2091#FFFFFF#000000##FFFFFF
##3D20911.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00358F
Tritanopia (blue-blind)
#144057
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3d2091;
/* rgb */ color: rgb(61, 32, 145);
/* oklch */ color: oklch(36.3% 0.171 286.0);
Tailwind
colors: {
  custom: {
    50: '#7d5fb2',
    500: '#3d2091',
    950: '#000000',
  },
}
SCSS
$custom: #3d2091;
$custom-light: #7d5fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2091",
  "rgb": {
    "r": 61,
    "g": 32,
    "b": 145
  },
  "hsl": {
    "h": 255.398,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36319,
    "c": 0.1711,
    "h": 286
  },
  "luminance": 0.04069
}

Semantic roles & 50–950 ramp

primary
#3D2091
secondary
#A1BC51
accent
#E741BC
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3D2091

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

Preview Lab → · Contrast checker → · Palette generator →

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