#55267A#55267A

#55267A is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.8% C 0.139 H 306.6°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#55267A
RGBrgb(85, 38, 122)
HSLhsl(274, 53%, 31%)
HSVhsv(274, 69%, 48%)
CMYKcmyk(30.3%, 68.9%, 0%, 52.2%)
CIE-LABlab(25.93, 37.95, -39.28)
CIE-LCHlch(25.93, 54.61, 314.01°)
OKLaboklab(37.81% 0.0826 -0.1113)
OKLCHoklch(37.81% 0.139 306.6)
XYZxyz(7.9515, 4.7227, 18.9013)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55267A #4B7A26
analogous
#2B267A #55267A #7A2675
triadic
#55267A #7A5526 #267A55
tetradic
#55267A #7A2B26 #4B7A26 #26757A
square
#55267A #7A2B26 #4B7A26 #26757A
split-complementary
#55267A #757A26 #267A2B
monochromatic
#14091D #34174B #55267A #7635A9 #9451C9

Accessibility & contrast

On white

10.80
#55267A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#55267A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55267A
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55267A#FFFFFF#000000##FFFFFF
##55267A1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7D
Deuteranopia (green-blind)
#113E78
Tritanopia (blue-blind)
#4F384C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #55267a;
/* rgb */ color: rgb(85, 38, 122);
/* oklch */ color: oklch(37.8% 0.139 306.6);
Tailwind
colors: {
  custom: {
    50: '#8864a1',
    500: '#55267a',
    950: '#000000',
  },
}
SCSS
$custom: #55267a;
$custom-light: #8864a1;
$custom-dark: #000000;
JSON
{
  "hex": "#55267a",
  "rgb": {
    "r": 85,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 273.571,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37805,
    "c": 0.13856,
    "h": 306.6
  },
  "luminance": 0.04723
}

Semantic roles & 50–950 ramp

primary
#55267A
secondary
#78AC50
accent
#DC4C8B
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #55267A

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

Preview Lab → · Contrast checker → · Palette generator →

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