#39267C#39267C

#39267C is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.8% C 0.138 H 287.0°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#39267C
RGBrgb(57, 38, 124)
HSLhsl(253, 53%, 32%)
HSVhsv(253, 69%, 49%)
CMYKcmyk(54%, 69.4%, 0%, 51.4%)
CIE-LABlab(22.69, 32.50, -45.95)
CIE-LCHlch(22.69, 56.29, 305.27°)
OKLaboklab(34.76% 0.0404 -0.1319)
OKLCHoklch(34.76% 0.138 287)
XYZxyz(6.0175, 3.7110, 19.4641)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39267C #697C26
analogous
#263E7C #39267C #64267C
triadic
#39267C #7C3926 #267C39
tetradic
#39267C #7C263E #697C26 #267C64
square
#39267C #7C263E #697C26 #267C64
split-complementary
#39267C #7C6426 #3E7C26
monochromatic
#0E091E #23184D #39267C #4F34AB #6D52CA

Accessibility & contrast

On white

12.05
#39267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#39267C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39267C
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39267C#FFFFFF#000000##FFFFFF
##39267C1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#1F3C4D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #39267c;
/* rgb */ color: rgb(57, 38, 124);
/* oklch */ color: oklch(34.8% 0.138 287.0);
Tailwind
colors: {
  custom: {
    50: '#7662a3',
    500: '#39267c',
    950: '#000000',
  },
}
SCSS
$custom: #39267c;
$custom-light: #7662a3;
$custom-dark: #000000;
JSON
{
  "hex": "#39267c",
  "rgb": {
    "r": 57,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 253.256,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34756,
    "c": 0.13797,
    "h": 287
  },
  "luminance": 0.03711
}

Semantic roles & 50–950 ramp

primary
#39267C
secondary
#99AE50
accent
#DC4BBC
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #39267C

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

Preview Lab → · Contrast checker → · Palette generator →

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