#5437DB#5437DB

#5437DB is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.5% C 0.232 H 281.4°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#5437DB
RGBrgb(84, 55, 219)
HSLhsl(251, 69%, 54%)
HSVhsv(251, 75%, 86%)
CMYKcmyk(61.6%, 74.9%, 0%, 14.1%)
CIE-LABlab(37.35, 56.11, -78.92)
CIE-LCHlch(37.35, 96.83, 305.41°)
OKLaboklab(48.48% 0.046 -0.2277)
OKLCHoklch(48.48% 0.232 281.4)
XYZxyz(17.8045, 9.7304, 67.9440)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5437DB #BEDB37
analogous
#376CDB #5437DB #A637DB
triadic
#5437DB #DB5437 #37DB54
tetradic
#5437DB #DB376C #BEDB37 #37DBA6
square
#5437DB #DB376C #BEDB37 #37DBA6
split-complementary
#5437DB #DBA637 #6CDB37
monochromatic
#2A1780 #3B20B4 #5437DB #806BE4 #AD9FEE

Accessibility & contrast

On white

7.13
#5437DB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#5437DB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5437DB
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5437DB#FFFFFF#000000##FFFFFF
##5437DB1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DE0
Deuteranopia (green-blind)
#0052D8
Tritanopia (blue-blind)
#006687
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5437db;
/* rgb */ color: rgb(84, 55, 219);
/* oklch */ color: oklch(48.5% 0.232 281.4);
Tailwind
colors: {
  custom: {
    50: '#9472e8',
    500: '#5437db',
    950: '#000000',
  },
}
SCSS
$custom: #5437db;
$custom-light: #9472e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5437db",
  "rgb": {
    "r": 84,
    "g": 55,
    "b": 219
  },
  "hsl": {
    "h": 250.61,
    "s": 69.492,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48475,
    "c": 0.23226,
    "h": 281.4
  },
  "luminance": 0.09732
}

Semantic roles & 50–950 ramp

primary
#5437DB
secondary
#CEDA94
accent
#EC3BCD
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0816
muted
#7E7B84

Preview Lab

Preview with #5437DB

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

Preview Lab → · Contrast checker → · Palette generator →

#5437DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva