#5136CA#5136CA

#5136CA is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.5% C 0.214 H 282.5°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#5136CA
RGBrgb(81, 54, 202)
HSLhsl(251, 58%, 50%)
HSVhsv(251, 73%, 79%)
CMYKcmyk(59.9%, 73.3%, 0%, 20.8%)
CIE-LABlab(35.30, 51.27, -72.48)
CIE-LCHlch(35.30, 88.78, 305.28°)
OKLaboklab(46.48% 0.0464 -0.2089)
OKLCHoklch(46.48% 0.214 282.5)
XYZxyz(15.3699, 8.6509, 56.7255)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5136CA #AFCA36
analogous
#3665CA #5136CA #9B36CA
triadic
#5136CA #CA5136 #36CA51
tetradic
#5136CA #CA3665 #AFCA36 #36CA9B
square
#5136CA #CA3665 #AFCA36 #36CA9B
split-complementary
#5136CA #CA9B36 #65CA36
monochromatic
#2A1C6A #3D299A #5136CA #7B66D7 #A597E4

Accessibility & contrast

On white

7.69
#5136CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5136CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5136CA
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5136CA#FFFFFF#000000##FFFFFF
##5136CA1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#004EC7
Tritanopia (blue-blind)
#005F7D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5136ca;
/* rgb */ color: rgb(81, 54, 202);
/* oklch */ color: oklch(46.5% 0.214 282.5);
Tailwind
colors: {
  custom: {
    50: '#9070db',
    500: '#5136ca',
    950: '#000000',
  },
}
SCSS
$custom: #5136ca;
$custom-light: #9070db;
$custom-dark: #000000;
JSON
{
  "hex": "#5136ca",
  "rgb": {
    "r": 81,
    "g": 54,
    "b": 202
  },
  "hsl": {
    "h": 250.946,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46479,
    "c": 0.21402,
    "h": 282.5
  },
  "luminance": 0.08652
}

Semantic roles & 50–950 ramp

primary
#5136CA
secondary
#C3CF8D
accent
#E146C5
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5136CA

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

Preview Lab → · Contrast checker → · Palette generator →

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