#61178E#61178E

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

Color values

HEX#61178E
RGBrgb(97, 23, 142)
HSLhsl(277, 72%, 32%)
HSVhsv(277, 84%, 56%)
CMYKcmyk(31.7%, 83.8%, 0%, 44.3%)
CIE-LABlab(27.04, 51.45, -49.94)
CIE-LCHlch(27.04, 71.70, 315.86°)
OKLaboklab(39.46% 0.1106 -0.1421)
OKLCHoklch(39.46% 0.18 307.9)
XYZxyz(10.1176, 5.1073, 26.0388)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#61178E #448E17
analogous
#26178E #61178E #8E177F
triadic
#61178E #8E6117 #178E61
tetradic
#61178E #8E2617 #448E17 #177F8E
square
#61178E #8E2617 #448E17 #177F8E
split-complementary
#61178E #7F8E17 #178E26
monochromatic
#190625 #3D0E59 #61178E #8520C3 #A33FE0

Accessibility & contrast

On white

10.39
#61178E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#61178E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #61178E
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##61178E#FFFFFF#000000##FFFFFF
##61178E1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#5A3754
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #61178e;
/* rgb */ color: rgb(97, 23, 142);
/* oklch */ color: oklch(39.5% 0.180 307.9);
Tailwind
colors: {
  custom: {
    50: '#935fb0',
    500: '#61178e',
    950: '#000000',
  },
}
SCSS
$custom: #61178e;
$custom-light: #935fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#61178e",
  "rgb": {
    "r": 97,
    "g": 23,
    "b": 142
  },
  "hsl": {
    "h": 277.311,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39456,
    "c": 0.18005,
    "h": 307.9
  },
  "luminance": 0.05107
}

Semantic roles & 50–950 ramp

primary
#61178E
secondary
#71C040
accent
#EF397E
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #61178E

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

Preview Lab → · Contrast checker → · Palette generator →

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