#392095#392095

#392095 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.176 H 283.0°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#392095
RGBrgb(57, 32, 149)
HSLhsl(253, 65%, 35%)
HSVhsv(253, 79%, 58%)
CMYKcmyk(61.7%, 78.5%, 0%, 41.6%)
CIE-LABlab(23.91, 43.64, -59.59)
CIE-LCHlch(23.91, 73.86, 306.22°)
OKLaboklab(36.35% 0.0398 -0.1718)
OKLCHoklch(36.35% 0.176 283)
XYZxyz(7.6270, 4.0723, 28.8121)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392095 #7C9520
analogous
#204195 #392095 #742095
triadic
#392095 #953920 #209539
tetradic
#392095 #952041 #7C9520 #209574
square
#392095 #952041 #7C9520 #209574
split-complementary
#392095 #957420 #419520
monochromatic
#120A30 #261563 #392095 #4C2BC7 #7155DA

Accessibility & contrast

On white

11.57
#392095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#392095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392095
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392095#FFFFFF#000000##FFFFFF
##3920951.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C98
Deuteranopia (green-blind)
#003593
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #392095;
/* rgb */ color: rgb(57, 32, 149);
/* oklch */ color: oklch(36.4% 0.176 283.0);
Tailwind
colors: {
  custom: {
    50: '#7c5fb5',
    500: '#392095',
    950: '#000000',
  },
}
SCSS
$custom: #392095;
$custom-light: #7c5fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#392095",
  "rgb": {
    "r": 57,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 252.821,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36353,
    "c": 0.17636,
    "h": 283
  },
  "luminance": 0.04073
}

Semantic roles & 50–950 ramp

primary
#392095
secondary
#A7BE53
accent
#E840C4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #392095

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

Preview Lab → · Contrast checker → · Palette generator →

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