#5339CF#5339CF

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

Color values

HEX#5339CF
RGBrgb(83, 57, 207)
HSLhsl(250, 61%, 52%)
HSVhsv(250, 72%, 81%)
CMYKcmyk(59.9%, 72.5%, 0%, 18.8%)
CIE-LABlab(36.50, 51.45, -73.41)
CIE-LCHlch(36.50, 89.64, 305.02°)
OKLaboklab(47.51% 0.046 -0.2116)
OKLCHoklch(47.51% 0.217 282.3)
XYZxyz(16.2894, 9.2691, 59.9501)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5339CF #B5CF39
analogous
#396ACF #5339CF #9E39CF
triadic
#5339CF #CF5339 #39CF53
tetradic
#5339CF #CF396A #B5CF39 #39CF9E
square
#5339CF #CF396A #B5CF39 #39CF9E
split-complementary
#5339CF #CF9E39 #6ACF39
monochromatic
#2B1C72 #3D28A3 #5339CF #7E6ADB #A99CE7

Accessibility & contrast

On white

7.36
#5339CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5339CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5339CF
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5339CF#FFFFFF#000000##FFFFFF
##5339CF1.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)
#005BD3
Deuteranopia (green-blind)
#0051CC
Tritanopia (blue-blind)
#006281
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5339cf;
/* rgb */ color: rgb(83, 57, 207);
/* oklch */ color: oklch(47.5% 0.217 282.3);
Tailwind
colors: {
  custom: {
    50: '#9172df',
    500: '#5339cf',
    950: '#000000',
  },
}
SCSS
$custom: #5339cf;
$custom-light: #9172df;
$custom-dark: #000000;
JSON
{
  "hex": "#5339cf",
  "rgb": {
    "r": 83,
    "g": 57,
    "b": 207
  },
  "hsl": {
    "h": 250.4,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47508,
    "c": 0.21655,
    "h": 282.3
  },
  "luminance": 0.0927
}

Semantic roles & 50–950 ramp

primary
#5339CF
secondary
#C7D391
accent
#E444C8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5339CF

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

Preview Lab → · Contrast checker → · Palette generator →

#5339CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva