#392394#392394

#392394 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.172 H 282.7°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#392394
RGBrgb(57, 35, 148)
HSLhsl(252, 62%, 36%)
HSVhsv(252, 76%, 58%)
CMYKcmyk(61.5%, 76.4%, 0%, 42%)
CIE-LABlab(24.35, 41.78, -58.25)
CIE-LCHlch(24.35, 71.68, 305.65°)
OKLaboklab(36.63% 0.038 -0.1679)
OKLCHoklch(36.63% 0.172 282.7)
XYZxyz(7.6320, 4.2095, 28.4216)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392394 #7E9423
analogous
#234594 #392394 #712394
triadic
#392394 #943923 #239439
tetradic
#392394 #942345 #7E9423 #239471
square
#392394 #942345 #7E9423 #239471
split-complementary
#392394 #947123 #459423
monochromatic
#130C31 #261763 #392394 #4C2FC5 #725AD8

Accessibility & contrast

On white

11.40
#392394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#392394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392394
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392394#FFFFFF#000000##FFFFFF
##3923941.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003692
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #392394;
/* rgb */ color: rgb(57, 35, 148);
/* oklch */ color: oklch(36.6% 0.172 282.7);
Tailwind
colors: {
  custom: {
    50: '#7b61b5',
    500: '#392394',
    950: '#000000',
  },
}
SCSS
$custom: #392394;
$custom-light: #7b61b5;
$custom-dark: #000000;
JSON
{
  "hex": "#392394",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 251.681,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36633,
    "c": 0.17216,
    "h": 282.7
  },
  "luminance": 0.0421
}

Semantic roles & 50–950 ramp

primary
#392394
secondary
#A8BC57
accent
#E543C5
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #392394

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

Preview Lab → · Contrast checker → · Palette generator →

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