#55309B#55309B

#55309B is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.8% C 0.164 H 294.0°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#55309B
RGBrgb(85, 48, 155)
HSLhsl(261, 53%, 40%)
HSVhsv(261, 69%, 61%)
CMYKcmyk(45.2%, 69%, 0%, 39.2%)
CIE-LABlab(30.43, 41.44, -52.47)
CIE-LCHlch(30.43, 66.87, 308.30°)
OKLaboklab(41.84% 0.0668 -0.1501)
OKLCHoklch(41.84% 0.164 294)
XYZxyz(10.7181, 6.4115, 31.6768)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55309B #769B30
analogous
#30409B #55309B #8B309B
triadic
#55309B #9B5530 #309B55
tetradic
#55309B #9B3040 #769B30 #309B8B
square
#55309B #9B3040 #769B30 #309B8B
split-complementary
#55309B #9B8B30 #409B30
monochromatic
#22133E #3B226C #55309B #7043C5 #9472D3

Accessibility & contrast

On white

9.20
#55309B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#55309B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55309B
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55309B#FFFFFF#000000##FFFFFF
##55309B1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#004699
Tritanopia (blue-blind)
#414A61
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #55309b;
/* rgb */ color: rgb(85, 48, 155);
/* oklch */ color: oklch(41.8% 0.164 294.0);
Tailwind
colors: {
  custom: {
    50: '#8b6bb9',
    500: '#55309b',
    950: '#000000',
  },
}
SCSS
$custom: #55309b;
$custom-light: #8b6bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#55309b",
  "rgb": {
    "r": 85,
    "g": 48,
    "b": 155
  },
  "hsl": {
    "h": 260.748,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41838,
    "c": 0.16429,
    "h": 294
  },
  "luminance": 0.06412
}

Semantic roles & 50–950 ramp

primary
#55309B
secondary
#A0BB6C
accent
#DC4CAA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0712
muted
#7D7A81

Preview Lab

Preview with #55309B

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

Preview Lab → · Contrast checker → · Palette generator →

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