#5738CD#5738CD

#5738CD is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.5% C 0.215 H 284.2°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#5738CD
RGBrgb(87, 56, 205)
HSLhsl(252, 60%, 51%)
HSVhsv(252, 73%, 80%)
CMYKcmyk(57.6%, 72.7%, 0%, 19.6%)
CIE-LABlab(36.48, 51.92, -72.26)
CIE-LCHlch(36.48, 88.98, 305.70°)
OKLaboklab(47.53% 0.0528 -0.2081)
OKLCHoklch(47.53% 0.215 284.2)
XYZxyz(16.3607, 9.2613, 58.6713)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5738CD #AECD38
analogous
#3863CD #5738CD #A138CD
triadic
#5738CD #CD5738 #38CD57
tetradic
#5738CD #CD3863 #AECD38 #38CDA1
square
#5738CD #CD3863 #AECD38 #38CDA1
split-complementary
#5738CD #CDA138 #63CD38
monochromatic
#2D1C6F #4128A0 #5738CD #8069D9 #AA9AE6

Accessibility & contrast

On white

7.36
#5738CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5738CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5738CD
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5738CD#FFFFFF#000000##FFFFFF
##5738CD1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD1
Deuteranopia (green-blind)
#0051CA
Tritanopia (blue-blind)
#15617F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5738cd;
/* rgb */ color: rgb(87, 56, 205);
/* oklch */ color: oklch(47.5% 0.215 284.2);
Tailwind
colors: {
  custom: {
    50: '#9372dd',
    500: '#5738cd',
    950: '#000000',
  },
}
SCSS
$custom: #5738cd;
$custom-light: #9372dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5738cd",
  "rgb": {
    "r": 87,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 252.483,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47528,
    "c": 0.2147,
    "h": 284.2
  },
  "luminance": 0.09262
}

Semantic roles & 50–950 ramp

primary
#5738CD
secondary
#C4D18F
accent
#E345C2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5738CD

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

Preview Lab → · Contrast checker → · Palette generator →

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