#392495#392495

#392495 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.172 H 282.4°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#392495
RGBrgb(57, 36, 149)
HSLhsl(251, 61%, 36%)
HSVhsv(251, 76%, 58%)
CMYKcmyk(61.7%, 75.8%, 0%, 41.6%)
CIE-LABlab(24.64, 41.55, -58.38)
CIE-LCHlch(24.64, 71.66, 305.44°)
OKLaboklab(36.87% 0.037 -0.1683)
OKLCHoklch(36.87% 0.172 282.4)
XYZxyz(7.7413, 4.3010, 28.8502)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392495 #809524
analogous
#244895 #392495 #722495
triadic
#392495 #953924 #249539
tetradic
#392495 #952448 #809524 #249572
square
#392495 #952448 #809524 #249572
split-complementary
#392495 #957224 #489524
monochromatic
#130C32 #261864 #392495 #4C30C6 #735CD8

Accessibility & contrast

On white

11.29
#392495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#392495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392495
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392495#FFFFFF#000000##FFFFFF
##3924951.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #392495;
/* rgb */ color: rgb(57, 36, 149);
/* oklch */ color: oklch(36.9% 0.172 282.4);
Tailwind
colors: {
  custom: {
    50: '#7b61b5',
    500: '#392495',
    950: '#000000',
  },
}
SCSS
$custom: #392495;
$custom-light: #7b61b5;
$custom-dark: #000000;
JSON
{
  "hex": "#392495",
  "rgb": {
    "r": 57,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 251.15,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36868,
    "c": 0.17235,
    "h": 282.4
  },
  "luminance": 0.04302
}

Semantic roles & 50–950 ramp

primary
#392495
secondary
#AABC59
accent
#E444C6
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #392495

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

Preview Lab → · Contrast checker → · Palette generator →

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