#390F68#390F68

#390F68 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.8% C 0.140 H 298.5°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#390F68
RGBrgb(57, 15, 104)
HSLhsl(268, 75%, 23%)
HSVhsv(268, 86%, 41%)
CMYKcmyk(45.2%, 85.6%, 0%, 59.2%)
CIE-LABlab(16.56, 38.60, -43.08)
CIE-LCHlch(16.56, 57.84, 311.86°)
OKLaboklab(29.84% 0.067 -0.1233)
OKLCHoklch(29.84% 0.14 298.5)
XYZxyz(4.3562, 2.2109, 13.2913)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390F68 #3E680F
analogous
#0F1168 #390F68 #650F68
triadic
#390F68 #68390F #0F6839
tetradic
#390F68 #680F11 #3E680F #0F6865
square
#390F68 #680F11 #3E680F #0F6865
split-complementary
#390F68 #68650F #11680F
monochromatic
#0F041B #1C0733 #390F68 #56179D #741ED3

Accessibility & contrast

On white

14.56
#390F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#390F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #390F68
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390F68#FFFFFF#000000##FFFFFF
##390F681.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296A
Deuteranopia (green-blind)
#002866
Tritanopia (blue-blind)
#2D283C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #390f68;
/* rgb */ color: rgb(57, 15, 104);
/* oklch */ color: oklch(29.8% 0.140 298.5);
Tailwind
colors: {
  custom: {
    50: '#755494',
    500: '#390f68',
    950: '#000000',
  },
}
SCSS
$custom: #390f68;
$custom-light: #755494;
$custom-dark: #000000;
JSON
{
  "hex": "#390f68",
  "rgb": {
    "r": 57,
    "g": 15,
    "b": 104
  },
  "hsl": {
    "h": 268.315,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29841,
    "c": 0.14034,
    "h": 298.5
  },
  "luminance": 0.02211
}

Semantic roles & 50–950 ramp

primary
#390F68
secondary
#6CA132
accent
#F13699
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #390F68

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

Preview Lab → · Contrast checker → · Palette generator →

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