#392075#392075

#392075 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.2% C 0.137 H 290.5°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#392075
RGBrgb(57, 32, 117)
HSLhsl(258, 57%, 29%)
HSVhsv(258, 73%, 46%)
CMYKcmyk(51.3%, 72.6%, 0%, 54.1%)
CIE-LABlab(20.78, 33.85, -44.61)
CIE-LCHlch(20.78, 56.00, 307.19°)
OKLaboklab(33.19% 0.0478 -0.128)
OKLCHoklch(33.19% 0.137 290.5)
XYZxyz(5.4138, 3.1870, 17.1561)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392075 #5C7520
analogous
#203275 #392075 #642075
triadic
#392075 #753920 #207539
tetradic
#392075 #752032 #5C7520 #207564
square
#392075 #752032 #5C7520 #207564
split-complementary
#392075 #756420 #327520
monochromatic
#0C0718 #221345 #392075 #502DA5 #6C44CC

Accessibility & contrast

On white

12.83
#392075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#392075 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392075
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392075#FFFFFF#000000##FFFFFF
##3920751.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#003073
Tritanopia (blue-blind)
#253648
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #392075;
/* rgb */ color: rgb(57, 32, 117);
/* oklch */ color: oklch(33.2% 0.137 290.5);
Tailwind
colors: {
  custom: {
    50: '#765e9e',
    500: '#392075',
    950: '#000000',
  },
}
SCSS
$custom: #392075;
$custom-light: #765e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#392075",
  "rgb": {
    "r": 57,
    "g": 32,
    "b": 117
  },
  "hsl": {
    "h": 257.647,
    "s": 57.047,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3319,
    "c": 0.13659,
    "h": 290.5
  },
  "luminance": 0.03187
}

Semantic roles & 50–950 ramp

primary
#392075
secondary
#8CA848
accent
#E047B3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #392075

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

Preview Lab → · Contrast checker → · Palette generator →

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