#55267F#55267F

#55267F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.144 H 304.6°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#55267F
RGBrgb(85, 38, 127)
HSLhsl(272, 54%, 32%)
HSVhsv(272, 70%, 50%)
CMYKcmyk(33.1%, 70.1%, 0%, 50.2%)
CIE-LABlab(26.30, 39.21, -41.83)
CIE-LCHlch(26.30, 57.34, 313.15°)
OKLaboklab(38.19% 0.082 -0.1188)
OKLCHoklch(38.19% 0.144 304.6)
XYZxyz(8.2693, 4.8499, 20.5750)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55267F #507F26
analogous
#28267F #55267F #7F267D
triadic
#55267F #7F5526 #267F55
tetradic
#55267F #7F2826 #507F26 #267D7F
square
#55267F #7F2826 #507F26 #267D7F
split-complementary
#55267F #7D7F26 #267F28
monochromatic
#160A21 #351850 #55267F #7534AE #9354CC

Accessibility & contrast

On white

10.66
#55267F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#55267F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55267F
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55267F#FFFFFF#000000##FFFFFF
##55267F1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#053E7D
Tritanopia (blue-blind)
#4D3A4F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #55267f;
/* rgb */ color: rgb(85, 38, 127);
/* oklch */ color: oklch(38.2% 0.144 304.6);
Tailwind
colors: {
  custom: {
    50: '#8964a5',
    500: '#55267f',
    950: '#000000',
  },
}
SCSS
$custom: #55267f;
$custom-light: #8964a5;
$custom-dark: #000000;
JSON
{
  "hex": "#55267f",
  "rgb": {
    "r": 85,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 271.685,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38191,
    "c": 0.14434,
    "h": 304.6
  },
  "luminance": 0.0485
}

Semantic roles & 50–950 ramp

primary
#55267F
secondary
#7EB051
accent
#DD4A90
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #55267F

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

Preview Lab → · Contrast checker → · Palette generator →

#55267F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva