#61178A#61178A

#61178A is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.176 H 309.3°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#61178A
RGBrgb(97, 23, 138)
HSLhsl(279, 71%, 32%)
HSVhsv(279, 83%, 54%)
CMYKcmyk(29.7%, 83.3%, 0%, 45.9%)
CIE-LABlab(26.70, 50.57, -47.99)
CIE-LCHlch(26.70, 69.72, 316.50°)
OKLaboklab(39.12% 0.1117 -0.1363)
OKLCHoklch(39.12% 0.176 309.3)
XYZxyz(9.8227, 4.9894, 24.4854)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#61178A #408A17
analogous
#28178A #61178A #8A177A
triadic
#61178A #8A6117 #178A61
tetradic
#61178A #8A2817 #408A17 #177A8A
square
#61178A #8A2817 #408A17 #177A8A
split-complementary
#61178A #7A8A17 #178A28
monochromatic
#170621 #3C0E56 #61178A #8620BE #A53DDF

Accessibility & contrast

On white

10.51
#61178A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#61178A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #61178A
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##61178A#FFFFFF#000000##FFFFFF
##61178A1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#5B3552
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #61178a;
/* rgb */ color: rgb(97, 23, 138);
/* oklch */ color: oklch(39.1% 0.176 309.3);
Tailwind
colors: {
  custom: {
    50: '#935fad',
    500: '#61178a',
    950: '#000000',
  },
}
SCSS
$custom: #61178a;
$custom-light: #935fad;
$custom-dark: #000000;
JSON
{
  "hex": "#61178a",
  "rgb": {
    "r": 97,
    "g": 23,
    "b": 138
  },
  "hsl": {
    "h": 278.609,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39119,
    "c": 0.17628,
    "h": 309.3
  },
  "luminance": 0.04989
}

Semantic roles & 50–950 ramp

primary
#61178A
secondary
#6CBE3F
accent
#EE3A7A
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #61178A

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

Preview Lab → · Contrast checker → · Palette generator →

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