#55279D#55279D

#55279D is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.177 H 295.1°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#55279D
RGBrgb(85, 39, 157)
HSLhsl(263, 60%, 38%)
HSVhsv(263, 75%, 62%)
CMYKcmyk(45.9%, 75.2%, 0%, 38.4%)
CIE-LABlab(28.94, 46.61, -56.11)
CIE-LCHlch(28.94, 72.95, 309.72°)
OKLaboklab(40.84% 0.0752 -0.1608)
OKLCHoklch(40.84% 0.177 295.1)
XYZxyz(10.5560, 5.8164, 32.4583)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55279D #6F9D27
analogous
#27349D #55279D #90279D
triadic
#55279D #9D5527 #279D55
tetradic
#55279D #9D2734 #6F9D27 #279D90
square
#55279D #9D2734 #6F9D27 #279D90
split-complementary
#55279D #9D9027 #349D27
monochromatic
#200F3B #3A1B6C #55279D #7035CD #9266D9

Accessibility & contrast

On white

9.71
#55279D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#55279D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55279D
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55279D#FFFFFF#000000##FFFFFF
##55279D1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#00429B
Tritanopia (blue-blind)
#414660
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #55279d;
/* rgb */ color: rgb(85, 39, 157);
/* oklch */ color: oklch(40.8% 0.177 295.1);
Tailwind
colors: {
  custom: {
    50: '#8c66bb',
    500: '#55279d',
    950: '#000000',
  },
}
SCSS
$custom: #55279d;
$custom-light: #8c66bb;
$custom-dark: #000000;
JSON
{
  "hex": "#55279d",
  "rgb": {
    "r": 85,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 263.39,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40836,
    "c": 0.17746,
    "h": 295.1
  },
  "luminance": 0.05817
}

Semantic roles & 50–950 ramp

primary
#55279D
secondary
#9ABF61
accent
#E344A5
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #55279D

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

Preview Lab → · Contrast checker → · Palette generator →

#55279D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva