#61178C#61178C

#61178C is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.3% C 0.178 H 308.6°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#61178C
RGBrgb(97, 23, 140)
HSLhsl(278, 72%, 32%)
HSVhsv(278, 84%, 55%)
CMYKcmyk(30.7%, 83.6%, 0%, 45.1%)
CIE-LABlab(26.87, 51.01, -48.97)
CIE-LCHlch(26.87, 70.71, 316.17°)
OKLaboklab(39.29% 0.1112 -0.1392)
OKLCHoklch(39.29% 0.178 308.6)
XYZxyz(9.9688, 5.0478, 25.2550)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#61178C #428C17
analogous
#27178C #61178C #8C177D
triadic
#61178C #8C6117 #178C61
tetradic
#61178C #8C2717 #428C17 #177D8C
square
#61178C #8C2717 #428C17 #177D8C
split-complementary
#61178C #7D8C17 #178C27
monochromatic
#180623 #3D0E57 #61178C #8520C1 #A43EDF

Accessibility & contrast

On white

10.45
#61178C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#61178C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #61178C
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##61178C#FFFFFF#000000##FFFFFF
##61178C1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#00408A
Tritanopia (blue-blind)
#5A3653
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #61178c;
/* rgb */ color: rgb(97, 23, 140);
/* oklch */ color: oklch(39.3% 0.178 308.6);
Tailwind
colors: {
  custom: {
    50: '#935fae',
    500: '#61178c',
    950: '#000000',
  },
}
SCSS
$custom: #61178c;
$custom-light: #935fae;
$custom-dark: #000000;
JSON
{
  "hex": "#61178c",
  "rgb": {
    "r": 97,
    "g": 23,
    "b": 140
  },
  "hsl": {
    "h": 277.949,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39287,
    "c": 0.17817,
    "h": 308.6
  },
  "luminance": 0.05048
}

Semantic roles & 50–950 ramp

primary
#61178C
secondary
#6EBF3F
accent
#EF397C
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #61178C

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

Preview Lab → · Contrast checker → · Palette generator →

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