#39145A#39145A

#39145A is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.1% C 0.119 H 303.9°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#39145A
RGBrgb(57, 20, 90)
HSLhsl(272, 64%, 22%)
HSVhsv(272, 78%, 35%)
CMYKcmyk(36.7%, 77.8%, 0%, 64.7%)
CIE-LABlab(16.05, 32.58, -34.62)
CIE-LCHlch(16.05, 47.53, 313.26°)
OKLaboklab(29.08% 0.0662 -0.0985)
OKLCHoklch(29.08% 0.119 303.9)
XYZxyz(3.7825, 2.1084, 9.8786)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39145A #355A14
analogous
#16145A #39145A #5A1458
triadic
#39145A #5A3914 #145A39
tetradic
#39145A #5A1614 #355A14 #14585A
square
#39145A #5A1614 #355A14 #14585A
split-complementary
#39145A #585A14 #145A16
monochromatic
#100619 #190928 #39145A #591F8C #782ABE

Accessibility & contrast

On white

14.77
#39145A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#39145A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39145A
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39145A#FFFFFF#000000##FFFFFF
##39145A1.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275C
Deuteranopia (green-blind)
#002859
Tritanopia (blue-blind)
#332535
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #39145a;
/* rgb */ color: rgb(57, 20, 90);
/* oklch */ color: oklch(29.1% 0.119 303.9);
Tailwind
colors: {
  custom: {
    50: '#735589',
    500: '#39145a',
    950: '#000000',
  },
}
SCSS
$custom: #39145a;
$custom-light: #735589;
$custom-dark: #000000;
JSON
{
  "hex": "#39145a",
  "rgb": {
    "r": 57,
    "g": 20,
    "b": 90
  },
  "hsl": {
    "h": 271.714,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29079,
    "c": 0.11873,
    "h": 303.9
  },
  "luminance": 0.02108
}

Semantic roles & 50–950 ramp

primary
#39145A
secondary
#629238
accent
#E7418F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #39145A

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

Preview Lab → · Contrast checker → · Palette generator →

#39145A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva