#390F5F#390F5F

#390F5F is a dark, vivid violet. Relative luminance 0.020; OKLCH L 29.0% C 0.130 H 302.4°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#390F5F
RGBrgb(57, 15, 95)
HSLhsl(272, 73%, 22%)
HSVhsv(272, 84%, 37%)
CMYKcmyk(40%, 84.2%, 0%, 62.7%)
CIE-LABlab(15.68, 36.23, -38.55)
CIE-LCHlch(15.68, 52.90, 313.22°)
OKLaboklab(28.97% 0.07 -0.11)
OKLCHoklch(28.97% 0.13 302.4)
XYZxyz(3.9232, 2.0377, 11.0109)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390F5F #355F0F
analogous
#110F5F #390F5F #5F0F5D
triadic
#390F5F #5F390F #0F5F39
tetradic
#390F5F #5F110F #355F0F #0F5D5F
square
#390F5F #5F110F #355F0F #0F5D5F
split-complementary
#390F5F #5D5F0F #0F5F11
monochromatic
#10041A #19072A #390F5F #591794 #7820C9

Accessibility & contrast

On white

14.92
#390F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#390F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #390F5F
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390F5F#FFFFFF#000000##FFFFFF
##390F5F1.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #390f5f;
/* rgb */ color: rgb(57, 15, 95);
/* oklch */ color: oklch(29.0% 0.130 302.4);
Tailwind
colors: {
  custom: {
    50: '#74538d',
    500: '#390f5f',
    950: '#000000',
  },
}
SCSS
$custom: #390f5f;
$custom-light: #74538d;
$custom-dark: #000000;
JSON
{
  "hex": "#390f5f",
  "rgb": {
    "r": 57,
    "g": 15,
    "b": 95
  },
  "hsl": {
    "h": 271.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.28965,
    "c": 0.1304,
    "h": 302.4
  },
  "luminance": 0.02038
}

Semantic roles & 50–950 ramp

primary
#390F5F
secondary
#629832
accent
#EF388F
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #390F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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