#3D2194#3D2194

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

Color values

HEX#3D2194
RGBrgb(61, 33, 148)
HSLhsl(255, 64%, 35%)
HSVhsv(255, 78%, 58%)
CMYKcmyk(58.8%, 77.7%, 0%, 42%)
CIE-LABlab(24.38, 43.35, -58.19)
CIE-LCHlch(24.38, 72.56, 306.69°)
OKLaboklab(36.75% 0.0455 -0.1676)
OKLCHoklch(36.75% 0.174 285.2)
XYZxyz(7.8120, 4.2175, 28.4136)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2194 #789421
analogous
#213E94 #3D2194 #762194
triadic
#3D2194 #943D21 #21943D
tetradic
#3D2194 #94213E #789421 #219476
square
#3D2194 #94213E #789421 #219476
split-complementary
#3D2194 #947621 #3E9421
monochromatic
#140B30 #281662 #3D2194 #522CC6 #7656D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D2194#FFFFFF#000000##FFFFFF
##3D21941.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)
#003D97
Deuteranopia (green-blind)
#003692
Tritanopia (blue-blind)
#0E4259
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3d2194;
/* rgb */ color: rgb(61, 33, 148);
/* oklch */ color: oklch(36.7% 0.174 285.2);
Tailwind
colors: {
  custom: {
    50: '#7d60b5',
    500: '#3d2194',
    950: '#000000',
  },
}
SCSS
$custom: #3d2194;
$custom-light: #7d60b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2194",
  "rgb": {
    "r": 61,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 254.609,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36746,
    "c": 0.17368,
    "h": 285.2
  },
  "luminance": 0.04218
}

Semantic roles & 50–950 ramp

primary
#3D2194
secondary
#A3BD54
accent
#E741BE
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3D2194

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

Preview Lab → · Contrast checker → · Palette generator →

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