#392296#392296

#392296 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.176 H 282.5°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#392296
RGBrgb(57, 34, 150)
HSLhsl(252, 63%, 36%)
HSVhsv(252, 77%, 59%)
CMYKcmyk(62%, 77.3%, 0%, 41.2%)
CIE-LABlab(24.37, 42.92, -59.45)
CIE-LCHlch(24.37, 73.32, 305.83°)
OKLaboklab(36.71% 0.0381 -0.1714)
OKLCHoklch(36.71% 0.176 282.5)
XYZxyz(7.7627, 4.2154, 29.2528)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392296 #7F9622
analogous
#224596 #392296 #732296
triadic
#392296 #963922 #229639
tetradic
#392296 #962245 #7F9622 #229673
square
#392296 #962245 #7F9622 #229673
split-complementary
#392296 #967322 #459622
monochromatic
#130B32 #261764 #392296 #4C2DC8 #7259D9

Accessibility & contrast

On white

11.39
#392296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#392296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392296
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392296#FFFFFF#000000##FFFFFF
##3922961.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003694
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #392296;
/* rgb */ color: rgb(57, 34, 150);
/* oklch */ color: oklch(36.7% 0.176 282.5);
Tailwind
colors: {
  custom: {
    50: '#7c60b6',
    500: '#392296',
    950: '#000000',
  },
}
SCSS
$custom: #392296;
$custom-light: #7c60b6;
$custom-dark: #000000;
JSON
{
  "hex": "#392296",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 251.897,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36708,
    "c": 0.17561,
    "h": 282.5
  },
  "luminance": 0.04216
}

Semantic roles & 50–950 ramp

primary
#392296
secondary
#A9BE56
accent
#E642C5
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #392296

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

Preview Lab → · Contrast checker → · Palette generator →

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