#55267B#55267B

#55267B is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.140 H 306.2°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#55267B
RGBrgb(85, 38, 123)
HSLhsl(273, 53%, 32%)
HSVhsv(273, 69%, 48%)
CMYKcmyk(30.9%, 69.1%, 0%, 51.8%)
CIE-LABlab(26.00, 38.20, -39.79)
CIE-LCHlch(26.00, 55.16, 313.83°)
OKLaboklab(37.88% 0.0825 -0.1128)
OKLCHoklch(37.88% 0.14 306.2)
XYZxyz(8.0138, 4.7477, 19.2293)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55267B #4C7B26
analogous
#2A267B #55267B #7B2677
triadic
#55267B #7B5526 #267B55
tetradic
#55267B #7B2A26 #4C7B26 #26777B
square
#55267B #7B2A26 #4C7B26 #26777B
split-complementary
#55267B #777B26 #267B2A
monochromatic
#14091D #35184C #55267B #7534AA #9452CA

Accessibility & contrast

On white

10.77
#55267B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55267B
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55267B#FFFFFF#000000##FFFFFF
##55267B1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#0F3E79
Tritanopia (blue-blind)
#4E384D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #55267b;
/* rgb */ color: rgb(85, 38, 123);
/* oklch */ color: oklch(37.9% 0.140 306.2);
Tailwind
colors: {
  custom: {
    50: '#8864a2',
    500: '#55267b',
    950: '#000000',
  },
}
SCSS
$custom: #55267b;
$custom-light: #8864a2;
$custom-dark: #000000;
JSON
{
  "hex": "#55267b",
  "rgb": {
    "r": 85,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 273.176,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37881,
    "c": 0.13971,
    "h": 306.2
  },
  "luminance": 0.04748
}

Semantic roles & 50–950 ramp

primary
#55267B
secondary
#79AD50
accent
#DC4C8C
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #55267B

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

Preview Lab → · Contrast checker → · Palette generator →

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