#3D2391#3D2391

#3D2391 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.168 H 285.5°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#3D2391
RGBrgb(61, 35, 145)
HSLhsl(254, 61%, 35%)
HSVhsv(254, 76%, 57%)
CMYKcmyk(57.9%, 75.9%, 0%, 43.1%)
CIE-LABlab(24.44, 41.41, -56.23)
CIE-LCHlch(24.44, 69.83, 306.37°)
OKLaboklab(36.7% 0.0448 -0.1619)
OKLCHoklch(36.7% 0.168 285.5)
XYZxyz(7.6348, 4.2380, 27.1983)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2391 #779123
analogous
#234091 #3D2391 #742391
triadic
#3D2391 #913D23 #23913D
tetradic
#3D2391 #912340 #779123 #239174
square
#3D2391 #912340 #779123 #239174
split-complementary
#3D2391 #917423 #409123
monochromatic
#140B2E #281760 #3D2391 #522FC2 #7658D7

Accessibility & contrast

On white

11.37
#3D2391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#3D2391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2391
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2391#FFFFFF#000000##FFFFFF
##3D23911.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D94
Deuteranopia (green-blind)
#00378F
Tritanopia (blue-blind)
#134258
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3d2391;
/* rgb */ color: rgb(61, 35, 145);
/* oklch */ color: oklch(36.7% 0.168 285.5);
Tailwind
colors: {
  custom: {
    50: '#7d61b2',
    500: '#3d2391',
    950: '#000000',
  },
}
SCSS
$custom: #3d2391;
$custom-light: #7d61b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2391",
  "rgb": {
    "r": 61,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 254.182,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36702,
    "c": 0.16798,
    "h": 285.5
  },
  "luminance": 0.04238
}

Semantic roles & 50–950 ramp

primary
#3D2391
secondary
#A3BB55
accent
#E444BE
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3D2391

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

Preview Lab → · Contrast checker → · Palette generator →

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