#39296C#39296C

#39296C is a dark, moderate violet. Relative luminance 0.035; OKLCH L 33.9% C 0.112 H 290.2°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#39296C
RGBrgb(57, 41, 108)
HSLhsl(254, 45%, 29%)
HSVhsv(254, 62%, 42%)
CMYKcmyk(47.2%, 62%, 0%, 57.6%)
CIE-LABlab(22.08, 25.50, -36.69)
CIE-LCHlch(22.08, 44.68, 304.79°)
OKLaboklab(33.9% 0.0384 -0.1047)
OKLCHoklch(33.9% 0.112 290.2)
XYZxyz(5.1863, 3.5383, 14.5941)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39296C #5C6C29
analogous
#293B6C #39296C #5B296C
triadic
#39296C #6C3929 #296C39
tetradic
#39296C #6C293B #5C6C29 #296C5B
square
#39296C #6C293B #5C6C29 #296C5B
split-complementary
#39296C #6C5B29 #3B6C29
monochromatic
#0C0816 #221840 #39296C #503A98 #6C52BD

Accessibility & contrast

On white

12.30
#39296C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#39296C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39296C
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39296C#FFFFFF#000000##FFFFFF
##39296C1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366E
Deuteranopia (green-blind)
#00336B
Tritanopia (blue-blind)
#2A3846
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #39296c;
/* rgb */ color: rgb(57, 41, 108);
/* oklch */ color: oklch(33.9% 0.112 290.2);
Tailwind
colors: {
  custom: {
    50: '#746397',
    500: '#39296c',
    950: '#000000',
  },
}
SCSS
$custom: #39296c;
$custom-light: #746397;
$custom-dark: #000000;
JSON
{
  "hex": "#39296c",
  "rgb": {
    "r": 57,
    "g": 41,
    "b": 108
  },
  "hsl": {
    "h": 254.328,
    "s": 44.966,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33899,
    "c": 0.11152,
    "h": 290.2
  },
  "luminance": 0.03538
}

Semantic roles & 50–950 ramp

primary
#39296C
secondary
#8C9E53
accent
#D553B6
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050D
muted
#7B797E

Preview Lab

Preview with #39296C

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

Preview Lab → · Contrast checker → · Palette generator →

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