#55397F#55397F

#55397F is a dark, moderate violet. Relative luminance 0.064; OKLCH L 41.2% C 0.115 H 299.8°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#55397F
RGBrgb(85, 57, 127)
HSLhsl(264, 38%, 36%)
HSVhsv(264, 55%, 50%)
CMYKcmyk(33.1%, 55.1%, 0%, 50.2%)
CIE-LABlab(30.38, 28.33, -35.29)
CIE-LCHlch(30.38, 45.25, 308.76°)
OKLaboklab(41.16% 0.0571 -0.0996)
OKLCHoklch(41.16% 0.115 299.8)
XYZxyz(9.0393, 6.3898, 20.8317)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55397F #637F39
analogous
#39407F #55397F #78397F
triadic
#55397F #7F5539 #397F55
tetradic
#55397F #7F3940 #637F39 #397F78
square
#55397F #7F3940 #637F39 #397F78
split-complementary
#55397F #7F7839 #407F39
monochromatic
#1C132B #392655 #55397F #714CA9 #9172C0

Accessibility & contrast

On white

9.22
#55397F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#55397F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55397F
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55397F#FFFFFF#000000##FFFFFF
##55397F1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4781
Deuteranopia (green-blind)
#27477D
Tritanopia (blue-blind)
#4C4756
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #55397f;
/* rgb */ color: rgb(85, 57, 127);
/* oklch */ color: oklch(41.2% 0.115 299.8);
Tailwind
colors: {
  custom: {
    50: '#8770a4',
    500: '#55397f',
    950: '#000000',
  },
}
SCSS
$custom: #55397f;
$custom-light: #8770a4;
$custom-dark: #000000;
JSON
{
  "hex": "#55397f",
  "rgb": {
    "r": 85,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 264,
    "s": 38.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41159,
    "c": 0.11484,
    "h": 299.8
  },
  "luminance": 0.0639
}

Semantic roles & 50–950 ramp

primary
#55397F
secondary
#90A96B
accent
#CE5AA0
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #55397F

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

Preview Lab → · Contrast checker → · Palette generator →

#55397F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva