#5F36DD#5F36DD

#5F36DD is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.5% C 0.234 H 285.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#5F36DD
RGBrgb(95, 54, 221)
HSLhsl(255, 71%, 54%)
HSVhsv(255, 76%, 87%)
CMYKcmyk(57%, 75.6%, 0%, 13.3%)
CIE-LABlab(38.36, 58.49, -78.38)
CIE-LCHlch(38.36, 97.79, 306.73°)
OKLaboklab(49.48% 0.0617 -0.2257)
OKLCHoklch(49.48% 0.234 285.3)
XYZxyz(19.0857, 10.2905, 69.3732)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F36DD #B4DD36
analogous
#3661DD #5F36DD #B336DD
triadic
#5F36DD #DD5F36 #36DD5F
tetradic
#5F36DD #DD3661 #B4DD36 #36DDB3
square
#5F36DD #DD3661 #B4DD36 #36DDB3
split-complementary
#5F36DD #DDB336 #61DD36
monochromatic
#311683 #441FB7 #5F36DD #896AE6 #B29FEF

Accessibility & contrast

On white

6.87
#5F36DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#5F36DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F36DD
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F36DD#FFFFFF#000000##FFFFFF
##5F36DD1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FE2
Deuteranopia (green-blind)
#0055DA
Tritanopia (blue-blind)
#1C6688
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5f36dd;
/* rgb */ color: rgb(95, 54, 221);
/* oklch */ color: oklch(49.5% 0.234 285.3);
Tailwind
colors: {
  custom: {
    50: '#9a72e9',
    500: '#5f36dd',
    950: '#000000',
  },
}
SCSS
$custom: #5f36dd;
$custom-light: #9a72e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f36dd",
  "rgb": {
    "r": 95,
    "g": 54,
    "b": 221
  },
  "hsl": {
    "h": 254.731,
    "s": 71.064,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49477,
    "c": 0.23403,
    "h": 285.3
  },
  "luminance": 0.10292
}

Semantic roles & 50–950 ramp

primary
#5F36DD
secondary
#CADB94
accent
#EE3AC2
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5F36DD

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

Preview Lab → · Contrast checker → · Palette generator →

#5F36DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva