#39216C#39216C

#39216C is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.5% C 0.123 H 293.0°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#39216C
RGBrgb(57, 33, 108)
HSLhsl(259, 53%, 28%)
HSVhsv(259, 69%, 42%)
CMYKcmyk(47.2%, 69.4%, 0%, 57.6%)
CIE-LABlab(20.20, 30.51, -39.74)
CIE-LCHlch(20.20, 50.10, 307.51°)
OKLaboklab(32.53% 0.0482 -0.1136)
OKLCHoklch(32.53% 0.123 293)
XYZxyz(4.9372, 3.0401, 14.5111)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39216C #546C21
analogous
#212F6C #39216C #5E216C
triadic
#39216C #6C3921 #216C39
tetradic
#39216C #6C212F #546C21 #216C5E
square
#39216C #6C212F #546C21 #216C5E
split-complementary
#39216C #6C5E21 #2F6C21
monochromatic
#0C0717 #20133D #39216C #522F9B #6C42C5

Accessibility & contrast

On white

13.06
#39216C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#39216C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39216C
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39216C#FFFFFF#000000##FFFFFF
##39216C1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326E
Deuteranopia (green-blind)
#002F6A
Tritanopia (blue-blind)
#2A3343
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #39216c;
/* rgb */ color: rgb(57, 33, 108);
/* oklch */ color: oklch(32.5% 0.123 293.0);
Tailwind
colors: {
  custom: {
    50: '#745e97',
    500: '#39216c',
    950: '#000000',
  },
}
SCSS
$custom: #39216c;
$custom-light: #745e97;
$custom-dark: #000000;
JSON
{
  "hex": "#39216c",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 108
  },
  "hsl": {
    "h": 259.2,
    "s": 53.191,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32533,
    "c": 0.12344,
    "h": 293
  },
  "luminance": 0.0304
}

Semantic roles & 50–950 ramp

primary
#39216C
secondary
#84A049
accent
#DD4BAE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #39216C

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

Preview Lab → · Contrast checker → · Palette generator →

#39216C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva