#392698#392698

#392698 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.174 H 281.6°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#392698
RGBrgb(57, 38, 152)
HSLhsl(250, 60%, 37%)
HSVhsv(250, 75%, 60%)
CMYKcmyk(62.5%, 75%, 0%, 40.4%)
CIE-LABlab(25.33, 41.40, -59.10)
CIE-LCHlch(25.33, 72.16, 305.01°)
OKLaboklab(37.44% 0.0348 -0.1704)
OKLCHoklch(37.44% 0.174 281.6)
XYZxyz(8.0462, 4.5225, 30.1486)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392698 #859826
analogous
#264C98 #392698 #722698
triadic
#392698 #983926 #269839
tetradic
#392698 #98264C #859826 #269872
square
#392698 #98264C #859826 #269872
split-complementary
#392698 #987226 #4C9826
monochromatic
#140E36 #271A67 #392698 #4B32C9 #7561D7

Accessibility & contrast

On white

11.03
#392698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#392698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392698
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392698#FFFFFF#000000##FFFFFF
##3926981.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409B
Deuteranopia (green-blind)
#003896
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #392698;
/* rgb */ color: rgb(57, 38, 152);
/* oklch */ color: oklch(37.4% 0.174 281.6);
Tailwind
colors: {
  custom: {
    50: '#7c63b7',
    500: '#392698',
    950: '#000000',
  },
}
SCSS
$custom: #392698;
$custom-light: #7c63b7;
$custom-dark: #000000;
JSON
{
  "hex": "#392698",
  "rgb": {
    "r": 57,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 250,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37443,
    "c": 0.17396,
    "h": 281.6
  },
  "luminance": 0.04523
}

Semantic roles & 50–950 ramp

primary
#392698
secondary
#ADBD5D
accent
#E345C9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #392698

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

Preview Lab → · Contrast checker → · Palette generator →

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