#392485#392485

#392485 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.152 H 285.5°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#392485
RGBrgb(57, 36, 133)
HSLhsl(253, 57%, 33%)
HSVhsv(253, 73%, 52%)
CMYKcmyk(57.1%, 72.9%, 0%, 47.8%)
CIE-LABlab(23.08, 36.54, -50.99)
CIE-LCHlch(23.08, 62.73, 305.62°)
OKLaboklab(35.29% 0.0407 -0.1467)
OKLCHoklch(35.29% 0.152 285.5)
XYZxyz(6.5506, 3.8247, 22.5788)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392485 #708524
analogous
#243F85 #392485 #692485
triadic
#392485 #853924 #248539
tetradic
#392485 #85243F #708524 #248569
square
#392485 #85243F #708524 #248569
split-complementary
#392485 #856924 #3F8524
monochromatic
#100A25 #241755 #392485 #4E31B5 #6E53D0

Accessibility & contrast

On white

11.90
#392485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#392485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392485
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392485#FFFFFF#000000##FFFFFF
##3924851.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#163E52
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #392485;
/* rgb */ color: rgb(57, 36, 133);
/* oklch */ color: oklch(35.3% 0.152 285.5);
Tailwind
colors: {
  custom: {
    50: '#7861a9',
    500: '#392485',
    950: '#000000',
  },
}
SCSS
$custom: #392485;
$custom-light: #7861a9;
$custom-dark: #000000;
JSON
{
  "hex": "#392485",
  "rgb": {
    "r": 57,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 252.99,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35289,
    "c": 0.15224,
    "h": 285.5
  },
  "luminance": 0.03825
}

Semantic roles & 50–950 ramp

primary
#392485
secondary
#9FB450
accent
#E147BF
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #392485

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

Preview Lab → · Contrast checker → · Palette generator →

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