#39267A#39267A

#39267A is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.6% C 0.135 H 287.5°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#39267A
RGBrgb(57, 38, 122)
HSLhsl(254, 53%, 31%)
HSVhsv(254, 69%, 48%)
CMYKcmyk(53.3%, 68.9%, 0%, 52.2%)
CIE-LABlab(22.52, 31.87, -44.97)
CIE-LCHlch(22.52, 55.11, 305.32°)
OKLaboklab(34.58% 0.0407 -0.129)
OKLCHoklch(34.58% 0.135 287.5)
XYZxyz(5.8923, 3.6609, 18.8047)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39267A #677A26
analogous
#263D7A #39267A #63267A
triadic
#39267A #7A3926 #267A39
tetradic
#39267A #7A263D #677A26 #267A63
square
#39267A #7A263D #677A26 #267A63
split-complementary
#39267A #7A6326 #3D7A26
monochromatic
#0D091D #23174B #39267A #4F35A9 #6C51C9

Accessibility & contrast

On white

12.12
#39267A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#39267A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39267A
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39267A#FFFFFF#000000##FFFFFF
##39267A1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#003478
Tritanopia (blue-blind)
#213B4C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #39267a;
/* rgb */ color: rgb(57, 38, 122);
/* oklch */ color: oklch(34.6% 0.135 287.5);
Tailwind
colors: {
  custom: {
    50: '#7662a1',
    500: '#39267a',
    950: '#000000',
  },
}
SCSS
$custom: #39267a;
$custom-light: #7662a1;
$custom-dark: #000000;
JSON
{
  "hex": "#39267a",
  "rgb": {
    "r": 57,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 253.571,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34576,
    "c": 0.13529,
    "h": 287.5
  },
  "luminance": 0.03661
}

Semantic roles & 50–950 ramp

primary
#39267A
secondary
#97AC50
accent
#DC4CBB
background
#F7F5FA
surface
#EDEAF3
border
#C8C6CD
text
#09050F
muted
#7B797F

Preview Lab

Preview with #39267A

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

Preview Lab → · Contrast checker → · Palette generator →

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