#5438C4#5438C4

#5438C4 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.4% C 0.204 H 284.3°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#5438C4
RGBrgb(84, 56, 196)
HSLhsl(252, 56%, 49%)
HSVhsv(252, 71%, 77%)
CMYKcmyk(57.1%, 71.4%, 0%, 23.1%)
CIE-LABlab(35.40, 48.85, -68.81)
CIE-LCHlch(35.40, 84.39, 305.37°)
OKLaboklab(46.44% 0.0504 -0.1981)
OKLCHoklch(46.44% 0.204 284.3)
XYZxyz(15.0311, 8.6978, 53.1006)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5438C4 #A8C438
analogous
#3862C4 #5438C4 #9A38C4
triadic
#5438C4 #C45438 #38C454
tetradic
#5438C4 #C43862 #A8C438 #38C49A
square
#5438C4 #C43862 #A8C438 #38C49A
split-complementary
#5438C4 #C49A38 #62C438
monochromatic
#2B1D65 #402A94 #5438C4 #7C66D3 #A596E1

Accessibility & contrast

On white

7.66
#5438C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5438C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5438C4
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5438C4#FFFFFF#000000##FFFFFF
##5438C41.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C8
Deuteranopia (green-blind)
#004FC1
Tritanopia (blue-blind)
#195E7A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5438c4;
/* rgb */ color: rgb(84, 56, 196);
/* oklch */ color: oklch(46.4% 0.204 284.3);
Tailwind
colors: {
  custom: {
    50: '#9071d7',
    500: '#5438c4',
    950: '#000000',
  },
}
SCSS
$custom: #5438c4;
$custom-light: #9071d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5438c4",
  "rgb": {
    "r": 84,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 252,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46443,
    "c": 0.20444,
    "h": 284.3
  },
  "luminance": 0.08699
}

Semantic roles & 50–950 ramp

primary
#5438C4
secondary
#BFCC8C
accent
#DF49C1
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5438C4

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

Preview Lab → · Contrast checker → · Palette generator →

#5438C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva