#5E267F#5E267F

#5E267F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.147 H 310.2°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#5E267F
RGBrgb(94, 38, 127)
HSLhsl(278, 54%, 32%)
HSVhsv(278, 70%, 50%)
CMYKcmyk(26%, 70.1%, 0%, 50.2%)
CIE-LABlab(27.57, 41.27, -39.73)
CIE-LCHlch(27.57, 57.28, 316.09°)
OKLaboklab(39.37% 0.0949 -0.1123)
OKLCHoklch(39.37% 0.147 310.2)
XYZxyz(9.1392, 5.2984, 20.6158)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E267F #477F26
analogous
#32267F #5E267F #7F2673
triadic
#5E267F #7F5E26 #267F5E
tetradic
#5E267F #7F3226 #477F26 #26737F
square
#5E267F #7F3226 #477F26 #26737F
split-complementary
#5E267F #737F26 #267F32
monochromatic
#180A21 #3B1850 #5E267F #8134AE #9F54CC

Accessibility & contrast

On white

10.20
#5E267F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#5E267F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E267F
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E267F#FFFFFF#000000##FFFFFF
##5E267F1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#18427D
Tritanopia (blue-blind)
#5A394F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5e267f;
/* rgb */ color: rgb(94, 38, 127);
/* oklch */ color: oklch(39.4% 0.147 310.2);
Tailwind
colors: {
  custom: {
    50: '#8f65a5',
    500: '#5e267f',
    950: '#000000',
  },
}
SCSS
$custom: #5e267f;
$custom-light: #8f65a5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e267f",
  "rgb": {
    "r": 94,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 277.753,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39369,
    "c": 0.147,
    "h": 310.2
  },
  "luminance": 0.05298
}

Semantic roles & 50–950 ramp

primary
#5E267F
secondary
#74B051
accent
#DD4A81
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #5E267F

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

Preview Lab → · Contrast checker → · Palette generator →

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