#390C56#390C56

#390C56 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.8% C 0.124 H 307.5°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#390C56
RGBrgb(57, 12, 86)
HSLhsl(276, 76%, 19%)
HSVhsv(276, 86%, 34%)
CMYKcmyk(33.7%, 86%, 0%, 66.3%)
CIE-LABlab(14.43, 35.17, -34.55)
CIE-LCHlch(14.43, 49.30, 315.50°)
OKLaboklab(27.83% 0.0753 -0.0983)
OKLCHoklch(27.83% 0.124 307.5)
XYZxyz(3.4982, 1.8047, 8.9664)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390C56 #29560C
analogous
#140C56 #390C56 #560C4E
triadic
#390C56 #56390C #0C5639
tetradic
#390C56 #56140C #29560C #0C4E56
square
#390C56 #56140C #29560C #0C4E56
split-complementary
#390C56 #4E560C #0C5614
monochromatic
#12041B #150520 #390C56 #5D138C #801BC1

Accessibility & contrast

On white

15.43
#390C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#390C56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #390C56
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390C56#FFFFFF#000000##FFFFFF
##390C561.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002358
Deuteranopia (green-blind)
#002555
Tritanopia (blue-blind)
#341F31
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #390c56;
/* rgb */ color: rgb(57, 12, 86);
/* oklch */ color: oklch(27.8% 0.124 307.5);
Tailwind
colors: {
  custom: {
    50: '#735186',
    500: '#390c56',
    950: '#000000',
  },
}
SCSS
$custom: #390c56;
$custom-light: #735186;
$custom-dark: #000000;
JSON
{
  "hex": "#390c56",
  "rgb": {
    "r": 57,
    "g": 12,
    "b": 86
  },
  "hsl": {
    "h": 276.486,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.2783,
    "c": 0.12382,
    "h": 307.5
  },
  "luminance": 0.01805
}

Semantic roles & 50–950 ramp

primary
#390C56
secondary
#54912D
accent
#F23680
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #390C56

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

Preview Lab → · Contrast checker → · Palette generator →

#390C56 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva