#55267C#55267C

#55267C is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.0% C 0.141 H 305.8°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#55267C
RGBrgb(85, 38, 124)
HSLhsl(273, 53%, 32%)
HSVhsv(273, 69%, 49%)
CMYKcmyk(31.5%, 69.4%, 0%, 51.4%)
CIE-LABlab(26.08, 38.45, -40.30)
CIE-LCHlch(26.08, 55.70, 313.65°)
OKLaboklab(37.96% 0.0824 -0.1143)
OKLCHoklch(37.96% 0.141 305.8)
XYZxyz(8.0767, 4.7728, 19.5606)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55267C #4D7C26
analogous
#2A267C #55267C #7C2678
triadic
#55267C #7C5526 #267C55
tetradic
#55267C #7C2A26 #4D7C26 #26787C
square
#55267C #7C2A26 #4D7C26 #26787C
split-complementary
#55267C #787C26 #267C2A
monochromatic
#15091E #35184D #55267C #7534AB #9452CA

Accessibility & contrast

On white

10.74
#55267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#55267C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55267C
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55267C#FFFFFF#000000##FFFFFF
##55267C1.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#0D3E7A
Tritanopia (blue-blind)
#4E394D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #55267c;
/* rgb */ color: rgb(85, 38, 124);
/* oklch */ color: oklch(38.0% 0.141 305.8);
Tailwind
colors: {
  custom: {
    50: '#8864a2',
    500: '#55267c',
    950: '#000000',
  },
}
SCSS
$custom: #55267c;
$custom-light: #8864a2;
$custom-dark: #000000;
JSON
{
  "hex": "#55267c",
  "rgb": {
    "r": 85,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 272.791,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37958,
    "c": 0.14087,
    "h": 305.8
  },
  "luminance": 0.04773
}

Semantic roles & 50–950 ramp

primary
#55267C
secondary
#7BAE50
accent
#DC4B8D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #55267C

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

Preview Lab → · Contrast checker → · Palette generator →

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