#5025BA#5025BA

#5025BA is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.8% C 0.212 H 286.6°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#5025BA
RGBrgb(80, 37, 186)
HSLhsl(257, 67%, 44%)
HSVhsv(257, 80%, 73%)
CMYKcmyk(57%, 80.1%, 0%, 27.1%)
CIE-LABlab(30.81, 54.70, -70.48)
CIE-LCHlch(30.81, 89.21, 307.82°)
OKLaboklab(42.85% 0.0606 -0.2029)
OKLCHoklch(42.85% 0.212 286.6)
XYZxyz(12.8301, 6.5730, 47.0375)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5025BA #8FBA25
analogous
#2545BA #5025BA #9A25BA
triadic
#5025BA #BA5025 #25BA50
tetradic
#5025BA #BA2545 #8FBA25 #25BA9A
square
#5025BA #BA2545 #8FBA25 #25BA9A
split-complementary
#5025BA #BA9A25 #45BA25
monochromatic
#241154 #3A1B87 #5025BA #6E43DA #9576E4

Accessibility & contrast

On white

9.07
#5025BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#5025BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5025BA
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5025BA#FFFFFF#000000##FFFFFF
##5025BA1.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBE
Deuteranopia (green-blind)
#0044B7
Tritanopia (blue-blind)
#1C5270
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5025ba;
/* rgb */ color: rgb(80, 37, 186);
/* oklch */ color: oklch(42.8% 0.212 286.6);
Tailwind
colors: {
  custom: {
    50: '#8e66d0',
    500: '#5025ba',
    950: '#000000',
  },
}
SCSS
$custom: #5025ba;
$custom-light: #8e66d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5025ba",
  "rgb": {
    "r": 80,
    "g": 37,
    "b": 186
  },
  "hsl": {
    "h": 257.315,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42846,
    "c": 0.2118,
    "h": 286.6
  },
  "luminance": 0.06574
}

Semantic roles & 50–950 ramp

primary
#5025BA
secondary
#B1CB70
accent
#EA3EB8
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0614
muted
#7E7A82

Preview Lab

Preview with #5025BA

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

Preview Lab → · Contrast checker → · Palette generator →

#5025BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva