#392194#392194

#392194 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.174 H 283.1°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#392194
RGBrgb(57, 33, 148)
HSLhsl(253, 64%, 35%)
HSVhsv(253, 78%, 58%)
CMYKcmyk(61.5%, 77.7%, 0%, 42%)
CIE-LABlab(23.98, 42.83, -58.85)
CIE-LCHlch(23.98, 72.78, 306.04°)
OKLaboklab(36.37% 0.0394 -0.1697)
OKLCHoklch(36.37% 0.174 283.1)
XYZxyz(7.5748, 4.0952, 28.4025)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392194 #7C9421
analogous
#214294 #392194 #722194
triadic
#392194 #943921 #219439
tetradic
#392194 #942142 #7C9421 #219472
square
#392194 #942142 #7C9421 #219472
split-complementary
#392194 #947221 #429421
monochromatic
#120B30 #261662 #392194 #4C2CC6 #7156D9

Accessibility & contrast

On white

11.54
#392194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#392194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392194
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392194#FFFFFF#000000##FFFFFF
##3921941.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003592
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #392194;
/* rgb */ color: rgb(57, 33, 148);
/* oklch */ color: oklch(36.4% 0.174 283.1);
Tailwind
colors: {
  custom: {
    50: '#7b60b5',
    500: '#392194',
    950: '#000000',
  },
}
SCSS
$custom: #392194;
$custom-light: #7b60b5;
$custom-dark: #000000;
JSON
{
  "hex": "#392194",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 252.522,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36374,
    "c": 0.17418,
    "h": 283.1
  },
  "luminance": 0.04096
}

Semantic roles & 50–950 ramp

primary
#392194
secondary
#A7BD54
accent
#E741C4
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #392194

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

Preview Lab → · Contrast checker → · Palette generator →

#392194 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva