#39266A#39266A

#39266A is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.2% C 0.113 H 291.9°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#39266A
RGBrgb(57, 38, 106)
HSLhsl(257, 47%, 28%)
HSVhsv(257, 64%, 42%)
CMYKcmyk(46.2%, 64.2%, 0%, 58.4%)
CIE-LABlab(21.19, 26.79, -36.83)
CIE-LCHlch(21.19, 45.55, 306.03°)
OKLaboklab(33.2% 0.0423 -0.1051)
OKLCHoklch(33.2% 0.113 291.9)
XYZxyz(4.9813, 3.2965, 14.0067)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39266A #576A26
analogous
#26356A #39266A #5B266A
triadic
#39266A #6A3926 #266A39
tetradic
#39266A #6A2635 #576A26 #266A5B
square
#39266A #6A2635 #576A26 #266A5B
split-complementary
#39266A #6A5B26 #356A26
monochromatic
#0C0817 #21163D #39266A #513697 #6C4CBF

Accessibility & contrast

On white

12.66
#39266A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#39266A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39266A
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39266A#FFFFFF#000000##FFFFFF
##39266A1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#003269
Tritanopia (blue-blind)
#2B3544
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #39266a;
/* rgb */ color: rgb(57, 38, 106);
/* oklch */ color: oklch(33.2% 0.113 291.9);
Tailwind
colors: {
  custom: {
    50: '#746195',
    500: '#39266a',
    950: '#000000',
  },
}
SCSS
$custom: #39266a;
$custom-light: #746195;
$custom-dark: #000000;
JSON
{
  "hex": "#39266a",
  "rgb": {
    "r": 57,
    "g": 38,
    "b": 106
  },
  "hsl": {
    "h": 256.765,
    "s": 47.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.332,
    "c": 0.11331,
    "h": 291.9
  },
  "luminance": 0.03297
}

Semantic roles & 50–950 ramp

primary
#39266A
secondary
#879D4F
accent
#D751B1
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050D
muted
#7B797E

Preview Lab

Preview with #39266A

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

Preview Lab → · Contrast checker → · Palette generator →

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