#3E2194#3E2194

#3E2194 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.174 H 285.7°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#3E2194
RGBrgb(62, 33, 148)
HSLhsl(255, 64%, 35%)
HSVhsv(255, 78%, 58%)
CMYKcmyk(58.1%, 77.7%, 0%, 42%)
CIE-LABlab(24.48, 43.49, -58.02)
CIE-LCHlch(24.48, 72.51, 306.85°)
OKLaboklab(36.84% 0.0471 -0.1671)
OKLCHoklch(36.84% 0.174 285.7)
XYZxyz(7.8741, 4.2495, 28.4165)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2194 #779421
analogous
#213E94 #3E2194 #772194
triadic
#3E2194 #943E21 #21943E
tetradic
#3E2194 #94213E #779421 #219477
square
#3E2194 #94213E #779421 #219477
split-complementary
#3E2194 #947721 #3E9421
monochromatic
#140B30 #291662 #3E2194 #532CC6 #7756D9

Accessibility & contrast

On white

11.35
#3E2194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E2194
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2194#FFFFFF#000000##FFFFFF
##3E21941.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003792
Tritanopia (blue-blind)
#134259
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3e2194;
/* rgb */ color: rgb(62, 33, 148);
/* oklch */ color: oklch(36.8% 0.174 285.7);
Tailwind
colors: {
  custom: {
    50: '#7e60b5',
    500: '#3e2194',
    950: '#000000',
  },
}
SCSS
$custom: #3e2194;
$custom-light: #7e60b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2194",
  "rgb": {
    "r": 62,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 255.13,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36842,
    "c": 0.17358,
    "h": 285.7
  },
  "luminance": 0.0425
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E2194

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

Preview Lab → · Contrast checker → · Palette generator →

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