#392294#392294

#392294 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.173 H 282.9°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#392294
RGBrgb(57, 34, 148)
HSLhsl(252, 63%, 36%)
HSVhsv(252, 77%, 58%)
CMYKcmyk(61.5%, 77%, 0%, 42%)
CIE-LABlab(24.17, 42.31, -58.55)
CIE-LCHlch(24.17, 72.24, 305.85°)
OKLaboklab(36.5% 0.0387 -0.1688)
OKLCHoklch(36.5% 0.173 282.9)
XYZxyz(7.6030, 4.1515, 28.4119)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392294 #7D9422
analogous
#224494 #392294 #722294
triadic
#392294 #943922 #229439
tetradic
#392294 #942244 #7D9422 #229472
square
#392294 #942244 #7D9422 #229472
split-complementary
#392294 #947222 #449422
monochromatic
#130B30 #261762 #392294 #4C2DC6 #7258D9

Accessibility & contrast

On white

11.47
#392294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#392294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392294
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392294#FFFFFF#000000##FFFFFF
##3922941.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003692
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #392294;
/* rgb */ color: rgb(57, 34, 148);
/* oklch */ color: oklch(36.5% 0.173 282.9);
Tailwind
colors: {
  custom: {
    50: '#7b60b5',
    500: '#392294',
    950: '#000000',
  },
}
SCSS
$custom: #392294;
$custom-light: #7b60b5;
$custom-dark: #000000;
JSON
{
  "hex": "#392294",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 252.105,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36502,
    "c": 0.17317,
    "h": 282.9
  },
  "luminance": 0.04152
}

Semantic roles & 50–950 ramp

primary
#392294
secondary
#A8BD55
accent
#E642C5
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #392294

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

Preview Lab → · Contrast checker → · Palette generator →

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