#392295#392295

#392295 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.174 H 282.7°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#392295
RGBrgb(57, 34, 149)
HSLhsl(252, 63%, 36%)
HSVhsv(252, 77%, 58%)
CMYKcmyk(61.7%, 77.2%, 0%, 41.6%)
CIE-LABlab(24.27, 42.61, -59.00)
CIE-LCHlch(24.27, 72.78, 305.84°)
OKLaboklab(36.6% 0.0384 -0.1701)
OKLCHoklch(36.6% 0.174 282.7)
XYZxyz(7.6825, 4.1833, 28.8306)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392295 #7E9522
analogous
#224495 #392295 #722295
triadic
#392295 #953922 #229539
tetradic
#392295 #952244 #7E9522 #229572
square
#392295 #952244 #7E9522 #229572
split-complementary
#392295 #957222 #449522
monochromatic
#130B31 #261763 #392295 #4C2DC7 #7258D9

Accessibility & contrast

On white

11.43
#392295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392295
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392295#FFFFFF#000000##FFFFFF
##3922951.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003693
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #392295;
/* rgb */ color: rgb(57, 34, 149);
/* oklch */ color: oklch(36.6% 0.174 282.7);
Tailwind
colors: {
  custom: {
    50: '#7b60b5',
    500: '#392295',
    950: '#000000',
  },
}
SCSS
$custom: #392295;
$custom-light: #7b60b5;
$custom-dark: #000000;
JSON
{
  "hex": "#392295",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 252,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36605,
    "c": 0.17439,
    "h": 282.7
  },
  "luminance": 0.04184
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #392295

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

Preview Lab → · Contrast checker → · Palette generator →

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