#55309C#55309C

#55309C is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.9% C 0.166 H 293.7°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#55309C
RGBrgb(85, 48, 156)
HSLhsl(261, 53%, 40%)
HSVhsv(261, 69%, 61%)
CMYKcmyk(45.5%, 69.2%, 0%, 38.8%)
CIE-LABlab(30.51, 41.72, -52.95)
CIE-LCHlch(30.51, 67.42, 308.24°)
OKLaboklab(41.92% 0.0666 -0.1515)
OKLCHoklch(41.92% 0.166 293.7)
XYZxyz(10.8024, 6.4452, 32.1209)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55309C #779C30
analogous
#30419C #55309C #8B309C
triadic
#55309C #9C5530 #309C55
tetradic
#55309C #9C3041 #779C30 #309C8B
square
#55309C #9C3041 #779C30 #309C8B
split-complementary
#55309C #9C8B30 #419C30
monochromatic
#22133E #3C226D #55309C #7044C5 #9473D4

Accessibility & contrast

On white

9.17
#55309C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#55309C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55309C
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55309C#FFFFFF#000000##FFFFFF
##55309C1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#00469A
Tritanopia (blue-blind)
#414B62
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #55309c;
/* rgb */ color: rgb(85, 48, 156);
/* oklch */ color: oklch(41.9% 0.166 293.7);
Tailwind
colors: {
  custom: {
    50: '#8b6bba',
    500: '#55309c',
    950: '#000000',
  },
}
SCSS
$custom: #55309c;
$custom-light: #8b6bba;
$custom-dark: #000000;
JSON
{
  "hex": "#55309c",
  "rgb": {
    "r": 85,
    "g": 48,
    "b": 156
  },
  "hsl": {
    "h": 260.556,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.41921,
    "c": 0.16551,
    "h": 293.7
  },
  "luminance": 0.06445
}

Semantic roles & 50–950 ramp

primary
#55309C
secondary
#A0BC6C
accent
#DC4BAB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0712
muted
#7D7A81

Preview Lab

Preview with #55309C

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

Preview Lab → · Contrast checker → · Palette generator →

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