#5739B3#5739B3

#5739B3 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.4% C 0.182 H 288.2°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#5739B3
RGBrgb(87, 57, 179)
HSLhsl(255, 52%, 46%)
HSVhsv(255, 68%, 70%)
CMYKcmyk(51.4%, 68.2%, 0%, 29.8%)
CIE-LABlab(34.41, 43.77, -60.40)
CIE-LCHlch(34.41, 74.59, 305.93°)
OKLaboklab(45.36% 0.0569 -0.1733)
OKLCHoklch(45.36% 0.182 288.2)
XYZxyz(13.5279, 8.2065, 43.5103)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5739B3 #95B339
analogous
#3958B3 #5739B3 #9439B3
triadic
#5739B3 #B35739 #39B357
tetradic
#5739B3 #B33958 #95B339 #39B394
square
#5739B3 #B33958 #95B339 #39B394
split-complementary
#5739B3 #B39439 #58B339
monochromatic
#2A1B56 #402A85 #5739B3 #795ECC #9F8CDA

Accessibility & contrast

On white

7.95
#5739B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5739B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5739B3
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5739B3#FFFFFF#000000##FFFFFF
##5739B31.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#355871
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5739b3;
/* rgb */ color: rgb(87, 57, 179);
/* oklch */ color: oklch(45.4% 0.182 288.2);
Tailwind
colors: {
  custom: {
    50: '#8f72cb',
    500: '#5739b3',
    950: '#000000',
  },
}
SCSS
$custom: #5739b3;
$custom-light: #8f72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#5739b3",
  "rgb": {
    "r": 87,
    "g": 57,
    "b": 179
  },
  "hsl": {
    "h": 254.754,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45355,
    "c": 0.18244,
    "h": 288.2
  },
  "luminance": 0.08207
}

Semantic roles & 50–950 ramp

primary
#5739B3
secondary
#B5C583
accent
#DB4DB8
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5739B3

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

Preview Lab → · Contrast checker → · Palette generator →

#5739B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva