#55237D#55237D

#55237D is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.146 H 305.9°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#55237D
RGBrgb(85, 35, 125)
HSLhsl(273, 56%, 31%)
HSVhsv(273, 72%, 49%)
CMYKcmyk(32%, 72%, 0%, 51%)
CIE-LABlab(25.61, 40.23, -41.70)
CIE-LCHlch(25.61, 57.94, 313.97°)
OKLaboklab(37.65% 0.0857 -0.1184)
OKLCHoklch(37.65% 0.146 305.9)
XYZxyz(8.0482, 4.6141, 19.8647)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55237D #4B7D23
analogous
#28237D #55237D #7D2378
triadic
#55237D #7D5523 #237D55
tetradic
#55237D #7D2823 #4B7D23 #23787D
square
#55237D #7D2823 #4B7D23 #23787D
split-complementary
#55237D #787D23 #237D28
monochromatic
#14081D #34164D #55237D #7630AD #944DCD

Accessibility & contrast

On white

10.92
#55237D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#55237D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55237D
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55237D#FFFFFF#000000##FFFFFF
##55237D1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#043D7B
Tritanopia (blue-blind)
#4E374D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #55237d;
/* rgb */ color: rgb(85, 35, 125);
/* oklch */ color: oklch(37.6% 0.146 305.9);
Tailwind
colors: {
  custom: {
    50: '#8962a3',
    500: '#55237d',
    950: '#000000',
  },
}
SCSS
$custom: #55237d;
$custom-light: #8962a3;
$custom-dark: #000000;
JSON
{
  "hex": "#55237d",
  "rgb": {
    "r": 85,
    "g": 35,
    "b": 125
  },
  "hsl": {
    "h": 273.333,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37645,
    "c": 0.14615,
    "h": 305.9
  },
  "luminance": 0.04614
}

Semantic roles & 50–950 ramp

primary
#55237D
secondary
#78AF4C
accent
#E0488B
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #55237D

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

Preview Lab → · Contrast checker → · Palette generator →

#55237D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva