#5E25A0#5E25A0

#5E25A0 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.184 H 299.2°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#5E25A0
RGBrgb(94, 37, 160)
HSLhsl(268, 62%, 39%)
HSVhsv(268, 77%, 63%)
CMYKcmyk(41.3%, 76.9%, 0%, 37.3%)
CIE-LABlab(30.01, 49.84, -56.15)
CIE-LCHlch(30.01, 75.08, 311.59°)
OKLaboklab(41.92% 0.0898 -0.1605)
OKLCHoklch(41.92% 0.184 299.2)
XYZxyz(11.6212, 6.2407, 33.8432)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E25A0 #67A025
analogous
#2529A0 #5E25A0 #9B25A0
triadic
#5E25A0 #A05E25 #25A05E
tetradic
#5E25A0 #A02529 #67A025 #25A09B
square
#5E25A0 #A02529 #67A025 #25A09B
split-complementary
#5E25A0 #A09B25 #29A025
monochromatic
#240E3D #411A6E #5E25A0 #7B32D0 #9B64DB

Accessibility & contrast

On white

9.34
#5E25A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E25A0
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E25A0#FFFFFF#000000##FFFFFF
##5E25A01.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#00469E
Tritanopia (blue-blind)
#4E4561
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5e25a0;
/* rgb */ color: rgb(94, 37, 160);
/* oklch */ color: oklch(41.9% 0.184 299.2);
Tailwind
colors: {
  custom: {
    50: '#9266bd',
    500: '#5e25a0',
    950: '#000000',
  },
}
SCSS
$custom: #5e25a0;
$custom-light: #9266bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e25a0",
  "rgb": {
    "r": 94,
    "g": 37,
    "b": 160
  },
  "hsl": {
    "h": 267.805,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41918,
    "c": 0.18391,
    "h": 299.2
  },
  "luminance": 0.06241
}

Semantic roles & 50–950 ramp

primary
#5E25A0
secondary
#94C160
accent
#E6429A
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #5E25A0

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

Preview Lab → · Contrast checker → · Palette generator →

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