#39267E#39267E

#39267E is a dark, vivid violet. Relative luminance 0.038; OKLCH L 34.9% C 0.141 H 286.6°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#39267E
RGBrgb(57, 38, 126)
HSLhsl(253, 54%, 32%)
HSVhsv(253, 70%, 49%)
CMYKcmyk(54.8%, 69.8%, 0%, 50.6%)
CIE-LABlab(22.87, 33.14, -46.93)
CIE-LCHlch(22.87, 57.45, 305.23°)
OKLaboklab(34.94% 0.0401 -0.1348)
OKLCHoklch(34.94% 0.141 286.6)
XYZxyz(6.1452, 3.7621, 20.1370)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39267E #6B7E26
analogous
#263F7E #39267E #65267E
triadic
#39267E #7E3926 #267E39
tetradic
#39267E #7E263F #6B7E26 #267E65
square
#39267E #7E263F #6B7E26 #267E65
split-complementary
#39267E #7E6526 #3F7E26
monochromatic
#0E0A20 #24184F #39267E #4E34AD #6D53CB

Accessibility & contrast

On white

11.98
#39267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#39267E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39267E
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39267E#FFFFFF#000000##FFFFFF
##39267E1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#1D3C4E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #39267e;
/* rgb */ color: rgb(57, 38, 126);
/* oklch */ color: oklch(34.9% 0.141 286.6);
Tailwind
colors: {
  custom: {
    50: '#7762a4',
    500: '#39267e',
    950: '#000000',
  },
}
SCSS
$custom: #39267e;
$custom-light: #7762a4;
$custom-dark: #000000;
JSON
{
  "hex": "#39267e",
  "rgb": {
    "r": 57,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 252.955,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34938,
    "c": 0.14063,
    "h": 286.6
  },
  "luminance": 0.03762
}

Semantic roles & 50–950 ramp

primary
#39267E
secondary
#9BB050
accent
#DD4BBD
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #39267E

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

Preview Lab → · Contrast checker → · Palette generator →

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