#39267B#39267B

#39267B is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.7% C 0.137 H 287.3°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#39267B
RGBrgb(57, 38, 123)
HSLhsl(253, 53%, 32%)
HSVhsv(253, 69%, 48%)
CMYKcmyk(53.7%, 69.1%, 0%, 51.8%)
CIE-LABlab(22.60, 32.18, -45.46)
CIE-LCHlch(22.60, 55.70, 305.30°)
OKLaboklab(34.67% 0.0406 -0.1305)
OKLCHoklch(34.67% 0.137 287.3)
XYZxyz(5.9546, 3.6859, 19.1327)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39267B #687B26
analogous
#263E7B #39267B #64267B
triadic
#39267B #7B3926 #267B39
tetradic
#39267B #7B263E #687B26 #267B64
square
#39267B #7B263E #687B26 #267B64
split-complementary
#39267B #7B6426 #3E7B26
monochromatic
#0E091D #23184C #39267B #4F34AA #6D52CA

Accessibility & contrast

On white

12.09
#39267B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39267B
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39267B#FFFFFF#000000##FFFFFF
##39267B1.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387E
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#203B4D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #39267b;
/* rgb */ color: rgb(57, 38, 123);
/* oklch */ color: oklch(34.7% 0.137 287.3);
Tailwind
colors: {
  custom: {
    50: '#7662a2',
    500: '#39267b',
    950: '#000000',
  },
}
SCSS
$custom: #39267b;
$custom-light: #7662a2;
$custom-dark: #000000;
JSON
{
  "hex": "#39267b",
  "rgb": {
    "r": 57,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 253.412,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34666,
    "c": 0.13664,
    "h": 287.3
  },
  "luminance": 0.03686
}

Semantic roles & 50–950 ramp

primary
#39267B
secondary
#98AD50
accent
#DC4CBC
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #39267B

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

Preview Lab → · Contrast checker → · Palette generator →

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