#5438DD#5438DD

#5438DD is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.8% C 0.234 H 281.1°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#5438DD
RGBrgb(84, 56, 221)
HSLhsl(250, 71%, 54%)
HSVhsv(250, 75%, 87%)
CMYKcmyk(62%, 74.7%, 0%, 13.3%)
CIE-LABlab(37.72, 56.20, -79.46)
CIE-LCHlch(37.72, 97.33, 305.27°)
OKLaboklab(48.79% 0.0449 -0.2292)
OKLCHoklch(48.79% 0.234 281.1)
XYZxyz(18.1174, 9.9323, 69.3550)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5438DD #C1DD38
analogous
#386FDD #5438DD #A738DD
triadic
#5438DD #DD5438 #38DD54
tetradic
#5438DD #DD386F #C1DD38 #38DDA7
square
#5438DD #DD386F #C1DD38 #38DDA7
split-complementary
#5438DD #DDA738 #6FDD38
monochromatic
#291784 #391FB8 #5438DD #816CE6 #AEA1EF

Accessibility & contrast

On white

7.03
#5438DD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#5438DD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5438DD
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5438DD#FFFFFF#000000##FFFFFF
##5438DD1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EE2
Deuteranopia (green-blind)
#0053DA
Tritanopia (blue-blind)
#006788
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5438dd;
/* rgb */ color: rgb(84, 56, 221);
/* oklch */ color: oklch(48.8% 0.234 281.1);
Tailwind
colors: {
  custom: {
    50: '#9472e9',
    500: '#5438dd',
    950: '#000000',
  },
}
SCSS
$custom: #5438dd;
$custom-light: #9472e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5438dd",
  "rgb": {
    "r": 84,
    "g": 56,
    "b": 221
  },
  "hsl": {
    "h": 250.182,
    "s": 70.815,
    "l": 54.314
  },
  "oklch": {
    "l": 0.4879,
    "c": 0.2336,
    "h": 281.1
  },
  "luminance": 0.09934
}

Semantic roles & 50–950 ramp

primary
#5438DD
secondary
#D0DB95
accent
#EE3ACF
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5438DD

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

Preview Lab → · Contrast checker → · Palette generator →

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