#392555#392555

#392555 is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.4% C 0.085 H 300.9°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#392555
RGBrgb(57, 37, 85)
HSLhsl(265, 39%, 24%)
HSVhsv(265, 56%, 33%)
CMYKcmyk(32.9%, 56.5%, 0%, 66.7%)
CIE-LABlab(19.43, 21.04, -25.82)
CIE-LCHlch(19.43, 33.31, 309.17°)
OKLaboklab(31.42% 0.0435 -0.0728)
OKLCHoklch(31.42% 0.085 300.9)
XYZxyz(3.9882, 2.8489, 8.9323)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392555 #415525
analogous
#252955 #392555 #512555
triadic
#392555 #553925 #255539
tetradic
#392555 #552529 #415525 #255551
square
#392555 #552529 #415525 #255551
split-complementary
#392555 #555125 #295525
monochromatic
#0E0915 #1C122A #392555 #563880 #724AAA

Accessibility & contrast

On white

13.38
#392555 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392555
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392555#FFFFFF#000000##FFFFFF
##3925551.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142F57
Deuteranopia (green-blind)
#1A2F54
Tritanopia (blue-blind)
#332E39
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #392555;
/* rgb */ color: rgb(57, 37, 85);
/* oklch */ color: oklch(31.4% 0.085 300.9);
Tailwind
colors: {
  custom: {
    50: '#716085',
    500: '#392555',
    950: '#000000',
  },
}
SCSS
$custom: #392555;
$custom-light: #716085;
$custom-dark: #000000;
JSON
{
  "hex": "#392555",
  "rgb": {
    "r": 57,
    "g": 37,
    "b": 85
  },
  "hsl": {
    "h": 265,
    "s": 39.344,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31415,
    "c": 0.08479,
    "h": 300.9
  },
  "luminance": 0.02849
}

Semantic roles & 50–950 ramp

primary
#392555
secondary
#70884D
accent
#CF599E
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08050B
muted
#7B797C

Preview Lab

Preview with #392555

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

Preview Lab → · Contrast checker → · Palette generator →

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