#39277A#39277A

#39277A is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.7% C 0.134 H 287.2°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#39277A
RGBrgb(57, 39, 122)
HSLhsl(253, 52%, 32%)
HSVhsv(253, 68%, 48%)
CMYKcmyk(53.3%, 68%, 0%, 52.2%)
CIE-LABlab(22.74, 31.25, -44.60)
CIE-LCHlch(22.74, 54.46, 305.02°)
OKLaboklab(34.74% 0.0396 -0.1279)
OKLCHoklch(34.74% 0.134 287.2)
XYZxyz(5.9247, 3.7258, 18.8155)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39277A #687A27
analogous
#273F7A #39277A #63277A
triadic
#39277A #7A3927 #277A39
tetradic
#39277A #7A273F #687A27 #277A63
square
#39277A #7A273F #687A27 #277A63
split-complementary
#39277A #7A6327 #3F7A27
monochromatic
#0E091D #23184C #39277A #4F36A8 #6D53C8

Accessibility & contrast

On white

12.03
#39277A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#39277A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39277A
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39277A#FFFFFF#000000##FFFFFF
##39277A1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #39277a;
/* rgb */ color: rgb(57, 39, 122);
/* oklch */ color: oklch(34.7% 0.134 287.2);
Tailwind
colors: {
  custom: {
    50: '#7662a1',
    500: '#39277a',
    950: '#000000',
  },
}
SCSS
$custom: #39277a;
$custom-light: #7662a1;
$custom-dark: #000000;
JSON
{
  "hex": "#39277a",
  "rgb": {
    "r": 57,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 253.012,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34739,
    "c": 0.13394,
    "h": 287.2
  },
  "luminance": 0.03726
}

Semantic roles & 50–950 ramp

primary
#39277A
secondary
#98AC51
accent
#DB4DBC
background
#F7F5FA
surface
#EDEAF3
border
#C8C6CD
text
#09050F
muted
#7B797F

Preview Lab

Preview with #39277A

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

Preview Lab → · Contrast checker → · Palette generator →

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