#5725B0#5725B0

#5725B0 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.6% C 0.201 H 291.8°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#5725B0
RGBrgb(87, 37, 176)
HSLhsl(262, 65%, 42%)
HSVhsv(262, 79%, 69%)
CMYKcmyk(50.6%, 79%, 0%, 31%)
CIE-LABlab(30.60, 52.90, -64.85)
CIE-LCHlch(30.60, 83.69, 309.21°)
OKLaboklab(42.58% 0.0745 -0.1863)
OKLCHoklch(42.58% 0.201 291.8)
XYZxyz(12.4263, 6.4835, 41.6626)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5725B0 #7EB025
analogous
#2538B0 #5725B0 #9D25B0
triadic
#5725B0 #B05725 #25B057
tetradic
#5725B0 #B02538 #7EB025 #25B09D
square
#5725B0 #B02538 #7EB025 #25B09D
split-complementary
#5725B0 #B09D25 #38B025
monochromatic
#25104B #3E1A7D #5725B0 #743CD6 #986FE1

Accessibility & contrast

On white

9.14
#5725B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#5725B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5725B0
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5725B0#FFFFFF#000000##FFFFFF
##5725B01.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB4
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#394D6A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5725b0;
/* rgb */ color: rgb(87, 37, 176);
/* oklch */ color: oklch(42.6% 0.201 291.8);
Tailwind
colors: {
  custom: {
    50: '#9066c9',
    500: '#5725b0',
    950: '#000000',
  },
}
SCSS
$custom: #5725b0;
$custom-light: #9066c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5725b0",
  "rgb": {
    "r": 87,
    "g": 37,
    "b": 176
  },
  "hsl": {
    "h": 261.583,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42581,
    "c": 0.20064,
    "h": 291.8
  },
  "luminance": 0.06484
}

Semantic roles & 50–950 ramp

primary
#5725B0
secondary
#A6C76A
accent
#E840AC
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5725B0

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

Preview Lab → · Contrast checker → · Palette generator →

#5725B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva