#390E5F#390E5F

#390E5F is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.131 H 302.6°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#390E5F
RGBrgb(57, 14, 95)
HSLhsl(272, 74%, 21%)
HSVhsv(272, 85%, 37%)
CMYKcmyk(40%, 85.3%, 0%, 62.7%)
CIE-LABlab(15.54, 36.65, -38.79)
CIE-LCHlch(15.54, 53.36, 313.37°)
OKLaboklab(28.87% 0.0708 -0.1107)
OKLCHoklch(28.87% 0.131 302.6)
XYZxyz(3.9094, 2.0101, 11.0063)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390E5F #345F0E
analogous
#110E5F #390E5F #5F0E5D
triadic
#390E5F #5F390E #0E5F39
tetradic
#390E5F #5F110E #345F0E #0E5D5F
square
#390E5F #5F110E #345F0E #0E5D5F
split-complementary
#390E5F #5D5F0E #0E5F11
monochromatic
#10041B #19062A #390E5F #591694 #791ECA

Accessibility & contrast

On white

14.98
#390E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#390E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #390E5F
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390E5F#FFFFFF#000000##FFFFFF
##390E5F1.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002661
Deuteranopia (green-blind)
#00275D
Tritanopia (blue-blind)
#312437
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #390e5f;
/* rgb */ color: rgb(57, 14, 95);
/* oklch */ color: oklch(28.9% 0.131 302.6);
Tailwind
colors: {
  custom: {
    50: '#74538d',
    500: '#390e5f',
    950: '#000000',
  },
}
SCSS
$custom: #390e5f;
$custom-light: #74538d;
$custom-dark: #000000;
JSON
{
  "hex": "#390e5f",
  "rgb": {
    "r": 57,
    "g": 14,
    "b": 95
  },
  "hsl": {
    "h": 271.852,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28865,
    "c": 0.13144,
    "h": 302.6
  },
  "luminance": 0.0201
}

Semantic roles & 50–950 ramp

primary
#390E5F
secondary
#619930
accent
#F1378E
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #390E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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