#39267D#39267D

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

Color values

HEX#39267D
RGBrgb(57, 38, 125)
HSLhsl(253, 53%, 32%)
HSVhsv(253, 70%, 49%)
CMYKcmyk(54.4%, 69.6%, 0%, 51%)
CIE-LABlab(22.78, 32.82, -46.44)
CIE-LCHlch(22.78, 56.87, 305.25°)
OKLaboklab(34.85% 0.0403 -0.1334)
OKLCHoklch(34.85% 0.139 286.8)
XYZxyz(6.0810, 3.7364, 19.7988)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39267D #6A7D26
analogous
#263F7D #39267D #64267D
triadic
#39267D #7D3926 #267D39
tetradic
#39267D #7D263F #6A7D26 #267D64
square
#39267D #7D263F #6A7D26 #267D64
split-complementary
#39267D #7D6426 #3F7D26
monochromatic
#0E091F #24184E #39267D #4E34AC #6D53CB

Accessibility & contrast

On white

12.02
#39267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39267D
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39267D#FFFFFF#000000##FFFFFF
##39267D1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#1E3C4E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #39267d;
/* rgb */ color: rgb(57, 38, 125);
/* oklch */ color: oklch(34.8% 0.139 286.8);
Tailwind
colors: {
  custom: {
    50: '#7762a3',
    500: '#39267d',
    950: '#000000',
  },
}
SCSS
$custom: #39267d;
$custom-light: #7762a3;
$custom-dark: #000000;
JSON
{
  "hex": "#39267d",
  "rgb": {
    "r": 57,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 253.103,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34847,
    "c": 0.1393,
    "h": 286.8
  },
  "luminance": 0.03737
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #39267D

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

Preview Lab → · Contrast checker → · Palette generator →

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