#390F56#390F56

#390F56 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.1% C 0.120 H 307.0°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#390F56
RGBrgb(57, 15, 86)
HSLhsl(275, 70%, 20%)
HSVhsv(275, 83%, 34%)
CMYKcmyk(33.7%, 82.6%, 0%, 66.3%)
CIE-LABlab(14.86, 33.91, -33.84)
CIE-LCHlch(14.86, 47.91, 315.06°)
OKLaboklab(28.14% 0.0725 -0.0962)
OKLCHoklch(28.14% 0.12 307)
XYZxyz(3.5375, 1.8834, 8.9795)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390F56 #2C560F
analogous
#160F56 #390F56 #560F50
triadic
#390F56 #56390F #0F5639
tetradic
#390F56 #56160F #2C560F #0F5056
square
#390F56 #56160F #2C560F #0F5056
split-complementary
#390F56 #50560F #0F5616
monochromatic
#11051A #160622 #390F56 #5C188A #7E21BE

Accessibility & contrast

On white

15.25
#390F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#390F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #390F56
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390F56#FFFFFF#000000##FFFFFF
##390F561.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002458
Deuteranopia (green-blind)
#002655
Tritanopia (blue-blind)
#342132
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #390f56;
/* rgb */ color: rgb(57, 15, 86);
/* oklch */ color: oklch(28.1% 0.120 307.0);
Tailwind
colors: {
  custom: {
    50: '#735386',
    500: '#390f56',
    950: '#000000',
  },
}
SCSS
$custom: #390f56;
$custom-light: #735386;
$custom-dark: #000000;
JSON
{
  "hex": "#390f56",
  "rgb": {
    "r": 57,
    "g": 15,
    "b": 86
  },
  "hsl": {
    "h": 275.493,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28135,
    "c": 0.12046,
    "h": 307
  },
  "luminance": 0.01883
}

Semantic roles & 50–950 ramp

primary
#390F56
secondary
#589031
accent
#ED3B84
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #390F56

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

Preview Lab → · Contrast checker → · Palette generator →

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