#5E269F#5E269F

#5E269F is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.9% C 0.182 H 299.4°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#5E269F
RGBrgb(94, 38, 159)
HSLhsl(268, 61%, 39%)
HSVhsv(268, 76%, 62%)
CMYKcmyk(40.9%, 76.1%, 0%, 37.6%)
CIE-LABlab(30.08, 49.14, -55.43)
CIE-LCHlch(30.08, 74.07, 311.56°)
OKLaboklab(41.94% 0.0891 -0.1584)
OKLCHoklch(41.94% 0.182 299.4)
XYZxyz(11.5656, 6.2690, 33.3949)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E269F #679F26
analogous
#262A9F #5E269F #9A269F
triadic
#5E269F #9F5E26 #269F5E
tetradic
#5E269F #9F262A #679F26 #269F9A
square
#5E269F #9F262A #679F26 #269F9A
split-complementary
#5E269F #9F9A26 #2A9F26
monochromatic
#240E3C #411A6E #5E269F #7B34CE #9B65DA

Accessibility & contrast

On white

9.32
#5E269F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#5E269F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E269F
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E269F#FFFFFF#000000##FFFFFF
##5E269F1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#4E4661
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5e269f;
/* rgb */ color: rgb(94, 38, 159);
/* oklch */ color: oklch(41.9% 0.182 299.4);
Tailwind
colors: {
  custom: {
    50: '#9266bc',
    500: '#5e269f',
    950: '#000000',
  },
}
SCSS
$custom: #5e269f;
$custom-light: #9266bc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e269f",
  "rgb": {
    "r": 94,
    "g": 38,
    "b": 159
  },
  "hsl": {
    "h": 267.769,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4194,
    "c": 0.18175,
    "h": 299.4
  },
  "luminance": 0.06269
}

Semantic roles & 50–950 ramp

primary
#5E269F
secondary
#94C061
accent
#E5439A
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #5E269F

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

Preview Lab → · Contrast checker → · Palette generator →

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