#5F33C0#5F33C0

#5F33C0 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.5% C 0.204 H 290.4°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#5F33C0
RGBrgb(95, 51, 192)
HSLhsl(259, 58%, 48%)
HSVhsv(259, 73%, 75%)
CMYKcmyk(50.5%, 73.4%, 0%, 24.7%)
CIE-LABlab(35.21, 51.92, -66.73)
CIE-LCHlch(35.21, 84.55, 307.89°)
OKLaboklab(46.46% 0.0712 -0.1916)
OKLCHoklch(46.46% 0.204 290.4)
XYZxyz(15.4148, 8.6057, 50.7078)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F33C0 #94C033
analogous
#334EC0 #5F33C0 #A533C0
triadic
#5F33C0 #C05F33 #33C05F
tetradic
#5F33C0 #C0334E #94C033 #33C0A5
square
#5F33C0 #C0334E #94C033 #33C0A5
split-complementary
#5F33C0 #C0A533 #4EC033
monochromatic
#2F195F #472690 #5F33C0 #825CD4 #A78DE1

Accessibility & contrast

On white

7.72
#5F33C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5F33C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F33C0
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F33C0#FFFFFF#000000##FFFFFF
##5F33C01.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C4
Deuteranopia (green-blind)
#0050BD
Tritanopia (blue-blind)
#3D5977
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5f33c0;
/* rgb */ color: rgb(95, 51, 192);
/* oklch */ color: oklch(46.5% 0.204 290.4);
Tailwind
colors: {
  custom: {
    50: '#966fd4',
    500: '#5f33c0',
    950: '#000000',
  },
}
SCSS
$custom: #5f33c0;
$custom-light: #966fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f33c0",
  "rgb": {
    "r": 95,
    "g": 51,
    "b": 192
  },
  "hsl": {
    "h": 258.723,
    "s": 58.025,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46463,
    "c": 0.20443,
    "h": 290.4
  },
  "luminance": 0.08606
}

Semantic roles & 50–950 ramp

primary
#5F33C0
secondary
#B5CB84
accent
#E147B1
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5F33C0

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

Preview Lab → · Contrast checker → · Palette generator →

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