#390C52#390C52

#390C52 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.5% C 0.120 H 309.7°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#390C52
RGBrgb(57, 12, 82)
HSLhsl(279, 74%, 18%)
HSVhsv(279, 85%, 32%)
CMYKcmyk(30.5%, 85.4%, 0%, 67.8%)
CIE-LABlab(14.07, 34.18, -32.41)
CIE-LCHlch(14.07, 47.10, 316.52°)
OKLaboklab(27.47% 0.0764 -0.092)
OKLCHoklch(27.47% 0.12 309.7)
XYZxyz(3.3415, 1.7421, 8.1412)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390C52 #25520C
analogous
#160C52 #390C52 #520C48
triadic
#390C52 #52390C #0C5239
tetradic
#390C52 #52160C #25520C #0C4852
square
#390C52 #52160C #25520C #0C4852
split-complementary
#390C52 #48520C #0C5216
monochromatic
#13041B #14041D #390C52 #5E1487 #831CBD

Accessibility & contrast

On white

15.57
#390C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#390C52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #390C52
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390C52#FFFFFF#000000##FFFFFF
##390C521.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002254
Deuteranopia (green-blind)
#002451
Tritanopia (blue-blind)
#351E2F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #390c52;
/* rgb */ color: rgb(57, 12, 82);
/* oklch */ color: oklch(27.5% 0.120 309.7);
Tailwind
colors: {
  custom: {
    50: '#735183',
    500: '#390c52',
    950: '#000000',
  },
}
SCSS
$custom: #390c52;
$custom-light: #735183;
$custom-dark: #000000;
JSON
{
  "hex": "#390c52",
  "rgb": {
    "r": 57,
    "g": 12,
    "b": 82
  },
  "hsl": {
    "h": 278.571,
    "s": 74.468,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27469,
    "c": 0.11959,
    "h": 309.7
  },
  "luminance": 0.01742
}

Semantic roles & 50–950 ramp

primary
#390C52
secondary
#4F8D2C
accent
#F13779
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #390C52

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

Preview Lab → · Contrast checker → · Palette generator →

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