#5738C3#5738C3

#5738C3 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.6% C 0.203 H 285.7°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#5738C3
RGBrgb(87, 56, 195)
HSLhsl(253, 55%, 49%)
HSVhsv(253, 71%, 76%)
CMYKcmyk(55.4%, 71.3%, 0%, 23.5%)
CIE-LABlab(35.58, 49.00, -67.91)
CIE-LCHlch(35.58, 83.74, 305.81°)
OKLaboklab(46.62% 0.0549 -0.1954)
OKLCHoklch(46.62% 0.203 285.7)
XYZxyz(15.1920, 8.7939, 52.5160)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5738C3 #A4C338
analogous
#385FC3 #5738C3 #9D38C3
triadic
#5738C3 #C35738 #38C357
tetradic
#5738C3 #C3385F #A4C338 #38C39D
square
#5738C3 #C3385F #A4C338 #38C39D
split-complementary
#5738C3 #C39D38 #5FC338
monochromatic
#2D1D64 #422A93 #5738C3 #7E65D3 #A695E1

Accessibility & contrast

On white

7.61
#5738C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#5738C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5738C3
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5738C3#FFFFFF#000000##FFFFFF
##5738C31.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C7
Deuteranopia (green-blind)
#004FC0
Tritanopia (blue-blind)
#265D7A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5738c3;
/* rgb */ color: rgb(87, 56, 195);
/* oklch */ color: oklch(46.6% 0.203 285.7);
Tailwind
colors: {
  custom: {
    50: '#9171d6',
    500: '#5738c3',
    950: '#000000',
  },
}
SCSS
$custom: #5738c3;
$custom-light: #9171d6;
$custom-dark: #000000;
JSON
{
  "hex": "#5738c3",
  "rgb": {
    "r": 87,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 253.381,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46617,
    "c": 0.20293,
    "h": 285.7
  },
  "luminance": 0.08795
}

Semantic roles & 50–950 ramp

primary
#5738C3
secondary
#BDCC8B
accent
#DF49BD
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5738C3

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

Preview Lab → · Contrast checker → · Palette generator →

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