#392050#392050

#392050 is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.1% C 0.087 H 305.9°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#392050
RGBrgb(57, 32, 80)
HSLhsl(271, 43%, 22%)
HSVhsv(271, 60%, 31%)
CMYKcmyk(28.8%, 60%, 0%, 68.6%)
CIE-LABlab(17.84, 22.86, -24.99)
CIE-LCHlch(17.84, 33.87, 312.46°)
OKLaboklab(30.13% 0.0509 -0.0703)
OKLCHoklch(30.13% 0.087 305.9)
XYZxyz(3.6515, 2.4821, 7.8746)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392050 #375020
analogous
#212050 #392050 #50204F
triadic
#392050 #503920 #205039
tetradic
#392050 #502120 #375020 #204F50
square
#392050 #502120 #375020 #204F50
split-complementary
#392050 #4F5020 #205021
monochromatic
#100916 #1A0F24 #392050 #58317C #7743A7

Accessibility & contrast

On white

14.03
#392050 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#392050 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392050
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392050#FFFFFF#000000##FFFFFF
##3920501.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102B52
Deuteranopia (green-blind)
#182C4F
Tritanopia (blue-blind)
#352934
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #392050;
/* rgb */ color: rgb(57, 32, 80);
/* oklch */ color: oklch(30.1% 0.087 305.9);
Tailwind
colors: {
  custom: {
    50: '#715c81',
    500: '#392050',
    950: '#000000',
  },
}
SCSS
$custom: #392050;
$custom-light: #715c81;
$custom-dark: #000000;
JSON
{
  "hex": "#392050",
  "rgb": {
    "r": 57,
    "g": 32,
    "b": 80
  },
  "hsl": {
    "h": 271.25,
    "s": 42.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30132,
    "c": 0.0868,
    "h": 305.9
  },
  "luminance": 0.02482
}

Semantic roles & 50–950 ramp

primary
#392050
secondary
#658447
accent
#D35591
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#08040A
muted
#7B797C

Preview Lab

Preview with #392050

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

Preview Lab → · Contrast checker → · Palette generator →

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