#392575#392575

#392575 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.0% C 0.130 H 289.1°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#392575
RGBrgb(57, 37, 117)
HSLhsl(255, 52%, 30%)
HSVhsv(255, 68%, 46%)
CMYKcmyk(51.3%, 68.4%, 0%, 54.1%)
CIE-LABlab(21.86, 30.89, -42.85)
CIE-LCHlch(21.86, 52.82, 305.79°)
OKLaboklab(33.97% 0.0425 -0.1228)
OKLCHoklch(33.97% 0.13 289.1)
XYZxyz(5.5589, 3.4771, 17.2044)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392575 #617525
analogous
#253975 #392575 #612575
triadic
#392575 #753925 #257539
tetradic
#392575 #752539 #617525 #257561
square
#392575 #752539 #617525 #257561
split-complementary
#392575 #756125 #397525
monochromatic
#0C0818 #221647 #392575 #5034A3 #6C4EC7

Accessibility & contrast

On white

12.39
#392575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#392575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392575
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392575#FFFFFF#000000##FFFFFF
##3925751.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003677
Deuteranopia (green-blind)
#003273
Tritanopia (blue-blind)
#253949
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #392575;
/* rgb */ color: rgb(57, 37, 117);
/* oklch */ color: oklch(34.0% 0.130 289.1);
Tailwind
colors: {
  custom: {
    50: '#75619d',
    500: '#392575',
    950: '#000000',
  },
}
SCSS
$custom: #392575;
$custom-light: #75619d;
$custom-dark: #000000;
JSON
{
  "hex": "#392575",
  "rgb": {
    "r": 57,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 255,
    "s": 51.948,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33968,
    "c": 0.12992,
    "h": 289.1
  },
  "luminance": 0.03477
}

Semantic roles & 50–950 ramp

primary
#392575
secondary
#91A84E
accent
#DB4CB8
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #392575

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

Preview Lab → · Contrast checker → · Palette generator →

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