#392164#392164

#392164 is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.9% C 0.113 H 295.8°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#392164
RGBrgb(57, 33, 100)
HSLhsl(261, 50%, 26%)
HSVhsv(261, 67%, 39%)
CMYKcmyk(43%, 67%, 0%, 60.8%)
CIE-LABlab(19.55, 28.07, -35.58)
CIE-LCHlch(19.55, 45.32, 308.28°)
OKLaboklab(31.85% 0.0491 -0.1014)
OKLCHoklch(31.85% 0.113 295.8)
XYZxyz(4.5308, 2.8776, 12.3708)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392164 #4C6421
analogous
#212A64 #392164 #5A2164
triadic
#392164 #643921 #216439
tetradic
#392164 #64212A #4C6421 #21645A
square
#392164 #64212A #4C6421 #21645A
split-complementary
#392164 #645A21 #2A6421
monochromatic
#0D0817 #1F1236 #392164 #533092 #6E40C0

Accessibility & contrast

On white

13.33
#392164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#392164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392164
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392164#FFFFFF#000000##FFFFFF
##3921641.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003066
Deuteranopia (green-blind)
#002E63
Tritanopia (blue-blind)
#2E303F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #392164;
/* rgb */ color: rgb(57, 33, 100);
/* oklch */ color: oklch(31.9% 0.113 295.8);
Tailwind
colors: {
  custom: {
    50: '#735e91',
    500: '#392164',
    950: '#000000',
  },
}
SCSS
$custom: #392164;
$custom-light: #735e91;
$custom-dark: #000000;
JSON
{
  "hex": "#392164",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 100
  },
  "hsl": {
    "h": 261.493,
    "s": 50.376,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31851,
    "c": 0.11268,
    "h": 295.8
  },
  "luminance": 0.02878
}

Semantic roles & 50–950 ramp

primary
#392164
secondary
#7C9849
accent
#DA4EA8
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040D
muted
#7B797D

Preview Lab

Preview with #392164

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

Preview Lab → · Contrast checker → · Palette generator →

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