#5E279A#5E279A

#5E279A is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.6% C 0.175 H 300.7°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#5E279A
RGBrgb(94, 39, 154)
HSLhsl(269, 60%, 38%)
HSVhsv(269, 75%, 60%)
CMYKcmyk(39%, 74.7%, 0%, 39.6%)
CIE-LABlab(29.82, 47.42, -52.80)
CIE-LCHlch(29.82, 70.97, 311.93°)
OKLaboklab(41.63% 0.0894 -0.1507)
OKLCHoklch(41.63% 0.175 300.7)
XYZxyz(11.1729, 6.1637, 31.1667)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E279A #639A27
analogous
#27299A #5E279A #97279A
triadic
#5E279A #9A5E27 #279A5E
tetradic
#5E279A #9A2729 #639A27 #279A97
square
#5E279A #9A2729 #639A27 #279A97
split-complementary
#5E279A #9A9727 #299A27
monochromatic
#220E38 #401B69 #5E279A #7C33CB #9B64D8

Accessibility & contrast

On white

9.41
#5E279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#5E279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E279A
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E279A#FFFFFF#000000##FFFFFF
##5E279A1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#004598
Tritanopia (blue-blind)
#50445E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5e279a;
/* rgb */ color: rgb(94, 39, 154);
/* oklch */ color: oklch(41.6% 0.175 300.7);
Tailwind
colors: {
  custom: {
    50: '#9167b9',
    500: '#5e279a',
    950: '#000000',
  },
}
SCSS
$custom: #5e279a;
$custom-light: #9167b9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e279a",
  "rgb": {
    "r": 94,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 268.696,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41628,
    "c": 0.17521,
    "h": 300.7
  },
  "luminance": 0.06164
}

Semantic roles & 50–950 ramp

primary
#5E279A
secondary
#90BD5F
accent
#E34597
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5E279A

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

Preview Lab → · Contrast checker → · Palette generator →

#5E279A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva