#5E269C#5E269C

#5E269C is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.179 H 300.2°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#5E269C
RGBrgb(94, 38, 156)
HSLhsl(268, 61%, 38%)
HSVhsv(268, 76%, 61%)
CMYKcmyk(39.7%, 75.6%, 0%, 38.8%)
CIE-LABlab(29.83, 48.39, -54.01)
CIE-LCHlch(29.83, 72.52, 311.85°)
OKLaboklab(41.68% 0.0898 -0.1543)
OKLCHoklch(41.68% 0.179 300.2)
XYZxyz(11.3085, 6.1661, 32.0404)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E269C #649C26
analogous
#26299C #5E269C #99269C
triadic
#5E269C #9C5E26 #269C5E
tetradic
#5E269C #9C2629 #649C26 #269C99
square
#5E269C #9C2629 #649C26 #269C99
split-complementary
#5E269C #9C9926 #299C26
monochromatic
#230E3A #401A6B #5E269C #7C32CD #9B63D9

Accessibility & contrast

On white

9.40
#5E269C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E269C
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E269C#FFFFFF#000000##FFFFFF
##5E269C1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#50445F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5e269c;
/* rgb */ color: rgb(94, 38, 156);
/* oklch */ color: oklch(41.7% 0.179 300.2);
Tailwind
colors: {
  custom: {
    50: '#9266ba',
    500: '#5e269c',
    950: '#000000',
  },
}
SCSS
$custom: #5e269c;
$custom-light: #9266ba;
$custom-dark: #000000;
JSON
{
  "hex": "#5e269c",
  "rgb": {
    "r": 94,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 268.475,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41683,
    "c": 0.17851,
    "h": 300.2
  },
  "luminance": 0.06166
}

Semantic roles & 50–950 ramp

primary
#5E269C
secondary
#91BF5F
accent
#E44498
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5E269C

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

Preview Lab → · Contrast checker → · Palette generator →

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