#392285#392285

#392285 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.155 H 285.9°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#392285
RGBrgb(57, 34, 133)
HSLhsl(254, 59%, 33%)
HSVhsv(254, 74%, 52%)
CMYKcmyk(57.1%, 74.4%, 0%, 47.8%)
CIE-LABlab(22.68, 37.67, -51.66)
CIE-LCHlch(22.68, 63.93, 306.10°)
OKLaboklab(35% 0.0424 -0.1486)
OKLCHoklch(35% 0.155 285.9)
XYZxyz(6.4917, 3.7070, 22.5592)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392285 #6E8522
analogous
#223D85 #392285 #6A2285
triadic
#392285 #853922 #228539
tetradic
#392285 #85223D #6E8522 #22856A
square
#392285 #85223D #6E8522 #22856A
split-complementary
#392285 #856A22 #3D8522
monochromatic
#0F0924 #241654 #392285 #4E2EB6 #6E4FD2

Accessibility & contrast

On white

12.06
#392285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#392285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392285
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392285#FFFFFF#000000##FFFFFF
##3922851.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003383
Tritanopia (blue-blind)
#163D51
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #392285;
/* rgb */ color: rgb(57, 34, 133);
/* oklch */ color: oklch(35.0% 0.155 285.9);
Tailwind
colors: {
  custom: {
    50: '#785fa9',
    500: '#392285',
    950: '#000000',
  },
}
SCSS
$custom: #392285;
$custom-light: #785fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#392285",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 253.939,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35001,
    "c": 0.15458,
    "h": 285.9
  },
  "luminance": 0.03707
}

Semantic roles & 50–950 ramp

primary
#392285
secondary
#9DB64D
accent
#E245BE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #392285

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

Preview Lab → · Contrast checker → · Palette generator →

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