#61178F#61178F

#61178F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.5% C 0.181 H 307.6°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#61178F
RGBrgb(97, 23, 143)
HSLhsl(277, 72%, 33%)
HSVhsv(277, 84%, 56%)
CMYKcmyk(32.2%, 83.9%, 0%, 43.9%)
CIE-LABlab(27.12, 51.68, -50.42)
CIE-LCHlch(27.12, 72.20, 315.71°)
OKLaboklab(39.54% 0.1103 -0.1435)
OKLCHoklch(39.54% 0.181 307.6)
XYZxyz(10.1930, 5.1375, 26.4359)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#61178F #458F17
analogous
#25178F #61178F #8F1781
triadic
#61178F #8F6117 #178F61
tetradic
#61178F #8F2517 #458F17 #17818F
square
#61178F #8F2517 #458F17 #17818F
split-complementary
#61178F #818F17 #178F25
monochromatic
#190626 #3D0F5A #61178F #851FC4 #A340E0

Accessibility & contrast

On white

10.36
#61178F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#61178F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #61178F
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##61178F#FFFFFF#000000##FFFFFF
##61178F1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#593855
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #61178f;
/* rgb */ color: rgb(97, 23, 143);
/* oklch */ color: oklch(39.5% 0.181 307.6);
Tailwind
colors: {
  custom: {
    50: '#935fb1',
    500: '#61178f',
    950: '#000000',
  },
}
SCSS
$custom: #61178f;
$custom-light: #935fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#61178f",
  "rgb": {
    "r": 97,
    "g": 23,
    "b": 143
  },
  "hsl": {
    "h": 277,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39541,
    "c": 0.181,
    "h": 307.6
  },
  "luminance": 0.05137
}

Semantic roles & 50–950 ramp

primary
#61178F
secondary
#72C141
accent
#EF397F
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #61178F

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

Preview Lab → · Contrast checker → · Palette generator →

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