#5738C4#5738C4

#5738C4 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.7% C 0.204 H 285.5°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#5738C4
RGBrgb(87, 56, 196)
HSLhsl(253, 56%, 49%)
HSVhsv(253, 71%, 77%)
CMYKcmyk(55.6%, 71.4%, 0%, 23.1%)
CIE-LABlab(35.67, 49.30, -68.35)
CIE-LCHlch(35.67, 84.27, 305.80°)
OKLaboklab(46.71% 0.0547 -0.1967)
OKLCHoklch(46.71% 0.204 285.5)
XYZxyz(15.3055, 8.8392, 53.1135)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5738C4 #A5C438
analogous
#385FC4 #5738C4 #9D38C4
triadic
#5738C4 #C45738 #38C457
tetradic
#5738C4 #C4385F #A5C438 #38C49D
square
#5738C4 #C4385F #A5C438 #38C49D
split-complementary
#5738C4 #C49D38 #5FC438
monochromatic
#2D1D65 #422A94 #5738C4 #7E66D3 #A696E1

Accessibility & contrast

On white

7.59
#5738C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#5738C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5738C4
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5738C4#FFFFFF#000000##FFFFFF
##5738C41.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C8
Deuteranopia (green-blind)
#0050C1
Tritanopia (blue-blind)
#245E7A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5738c4;
/* rgb */ color: rgb(87, 56, 196);
/* oklch */ color: oklch(46.7% 0.204 285.5);
Tailwind
colors: {
  custom: {
    50: '#9272d7',
    500: '#5738c4',
    950: '#000000',
  },
}
SCSS
$custom: #5738c4;
$custom-light: #9272d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5738c4",
  "rgb": {
    "r": 87,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 253.286,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46707,
    "c": 0.20412,
    "h": 285.5
  },
  "luminance": 0.0884
}

Semantic roles & 50–950 ramp

primary
#5738C4
secondary
#BECC8C
accent
#DF49BE
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5738C4

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

Preview Lab → · Contrast checker → · Palette generator →

#5738C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva