#392162#392162

#392162 is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.7% C 0.110 H 296.6°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#392162
RGBrgb(57, 33, 98)
HSLhsl(262, 50%, 26%)
HSVhsv(262, 66%, 38%)
CMYKcmyk(41.8%, 66.3%, 0%, 61.6%)
CIE-LABlab(19.39, 27.47, -34.52)
CIE-LCHlch(19.39, 44.12, 308.51°)
OKLaboklab(31.69% 0.0493 -0.0983)
OKLCHoklch(31.69% 0.11 296.6)
XYZxyz(4.4352, 2.8393, 11.8673)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392162 #4A6221
analogous
#212962 #392162 #592162
triadic
#392162 #623921 #216239
tetradic
#392162 #622129 #4A6221 #216259
square
#392162 #622129 #4A6221 #216259
split-complementary
#392162 #625921 #296221
monochromatic
#0D0817 #1E1234 #392162 #543090 #6E40BE

Accessibility & contrast

On white

13.39
#392162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#392162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392162
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392162#FFFFFF#000000##FFFFFF
##3921621.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F64
Deuteranopia (green-blind)
#012E61
Tritanopia (blue-blind)
#2F2F3E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #392162;
/* rgb */ color: rgb(57, 33, 98);
/* oklch */ color: oklch(31.7% 0.110 296.6);
Tailwind
colors: {
  custom: {
    50: '#735d8f',
    500: '#392162',
    950: '#000000',
  },
}
SCSS
$custom: #392162;
$custom-light: #735d8f;
$custom-dark: #000000;
JSON
{
  "hex": "#392162",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 262.154,
    "s": 49.618,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31686,
    "c": 0.10995,
    "h": 296.6
  },
  "luminance": 0.02839
}

Semantic roles & 50–950 ramp

primary
#392162
secondary
#7A9649
accent
#D94FA6
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #392162

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

Preview Lab → · Contrast checker → · Palette generator →

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