#5025CA#5025CA

#5025CA is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.5% C 0.229 H 284.0°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#5025CA
RGBrgb(80, 37, 202)
HSLhsl(256, 69%, 47%)
HSVhsv(256, 82%, 79%)
CMYKcmyk(60.4%, 81.7%, 0%, 20.8%)
CIE-LABlab(32.46, 59.05, -77.16)
CIE-LCHlch(32.46, 97.17, 307.43°)
OKLaboklab(44.47% 0.0553 -0.2224)
OKLCHoklch(44.47% 0.229 284)
XYZxyz(14.6272, 7.2919, 56.5024)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5025CA #9FCA25
analogous
#254DCA #5025CA #A325CA
triadic
#5025CA #CA5025 #25CA50
tetradic
#5025CA #CA254D #9FCA25 #25CAA3
square
#5025CA #CA254D #9FCA25 #25CAA3
split-complementary
#5025CA #CAA325 #4DCA25
monochromatic
#271263 #3C1C96 #5025CA #734EDF #9C81E8

Accessibility & contrast

On white

8.54
#5025CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#5025CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5025CA
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5025CA#FFFFFF#000000##FFFFFF
##5025CA1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CE
Deuteranopia (green-blind)
#0047C7
Tritanopia (blue-blind)
#005879
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5025ca;
/* rgb */ color: rgb(80, 37, 202);
/* oklch */ color: oklch(44.5% 0.229 284.0);
Tailwind
colors: {
  custom: {
    50: '#9067dc',
    500: '#5025ca',
    950: '#000000',
  },
}
SCSS
$custom: #5025ca;
$custom-light: #9067dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5025ca",
  "rgb": {
    "r": 80,
    "g": 37,
    "b": 202
  },
  "hsl": {
    "h": 255.636,
    "s": 69.038,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44474,
    "c": 0.22922,
    "h": 284
  },
  "luminance": 0.07293
}

Semantic roles & 50–950 ramp

primary
#5025CA
secondary
#BAD17A
accent
#EC3CBE
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #5025CA

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

Preview Lab → · Contrast checker → · Palette generator →

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