#392395#392395

#392395 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.173 H 282.6°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#392395
RGBrgb(57, 35, 149)
HSLhsl(252, 62%, 36%)
HSVhsv(252, 77%, 58%)
CMYKcmyk(61.7%, 76.5%, 0%, 41.6%)
CIE-LABlab(24.45, 42.09, -58.70)
CIE-LCHlch(24.45, 72.22, 305.64°)
OKLaboklab(36.74% 0.0377 -0.1692)
OKLCHoklch(36.74% 0.173 282.6)
XYZxyz(7.7115, 4.2413, 28.8402)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392395 #7F9523
analogous
#234695 #392395 #722395
triadic
#392395 #953923 #239539
tetradic
#392395 #952346 #7F9523 #239572
square
#392395 #952346 #7F9523 #239572
split-complementary
#392395 #957223 #469523
monochromatic
#130C32 #261763 #392395 #4C2FC7 #725AD8

Accessibility & contrast

On white

11.36
#392395 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#392395 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392395
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392395#FFFFFF#000000##FFFFFF
##3923951.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #392395;
/* rgb */ color: rgb(57, 35, 149);
/* oklch */ color: oklch(36.7% 0.173 282.6);
Tailwind
colors: {
  custom: {
    50: '#7b61b5',
    500: '#392395',
    950: '#000000',
  },
}
SCSS
$custom: #392395;
$custom-light: #7b61b5;
$custom-dark: #000000;
JSON
{
  "hex": "#392395",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 149
  },
  "hsl": {
    "h": 251.579,
    "s": 61.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36735,
    "c": 0.17338,
    "h": 282.6
  },
  "luminance": 0.04242
}

Semantic roles & 50–950 ramp

primary
#392395
secondary
#A9BD57
accent
#E543C6
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #392395

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

Preview Lab → · Contrast checker → · Palette generator →

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