#392163#392163

#392163 is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.8% C 0.111 H 296.2°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#392163
RGBrgb(57, 33, 99)
HSLhsl(262, 50%, 26%)
HSVhsv(262, 67%, 39%)
CMYKcmyk(42.4%, 66.7%, 0%, 61.2%)
CIE-LABlab(19.47, 27.77, -35.05)
CIE-LCHlch(19.47, 44.72, 308.39°)
OKLaboklab(31.77% 0.0492 -0.0999)
OKLCHoklch(31.77% 0.111 296.2)
XYZxyz(4.4827, 2.8583, 12.1175)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392163 #4B6321
analogous
#212A63 #392163 #5A2163
triadic
#392163 #633921 #216339
tetradic
#392163 #63212A #4B6321 #21635A
square
#392163 #63212A #4B6321 #21635A
split-complementary
#392163 #635A21 #2A6321
monochromatic
#0D0817 #1F1235 #392163 #533091 #6E40BF

Accessibility & contrast

On white

13.36
#392163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392163
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392163#FFFFFF#000000##FFFFFF
##3921631.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003065
Deuteranopia (green-blind)
#002E62
Tritanopia (blue-blind)
#2F303E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #392163;
/* rgb */ color: rgb(57, 33, 99);
/* oklch */ color: oklch(31.8% 0.111 296.2);
Tailwind
colors: {
  custom: {
    50: '#735e90',
    500: '#392163',
    950: '#000000',
  },
}
SCSS
$custom: #392163;
$custom-light: #735e90;
$custom-dark: #000000;
JSON
{
  "hex": "#392163",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 99
  },
  "hsl": {
    "h": 261.818,
    "s": 50,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31769,
    "c": 0.11131,
    "h": 296.2
  },
  "luminance": 0.02858
}

Semantic roles & 50–950 ramp

primary
#392163
secondary
#7B9749
accent
#DA4EA7
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #392163

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

Preview Lab → · Contrast checker → · Palette generator →

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