#61179E#61179E

#61179E is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.9% C 0.195 H 302.7°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#61179E
RGBrgb(97, 23, 158)
HSLhsl(273, 75%, 35%)
HSVhsv(273, 85%, 62%)
CMYKcmyk(38.6%, 85.4%, 0%, 38%)
CIE-LABlab(28.44, 55.07, -57.48)
CIE-LCHlch(28.44, 79.61, 313.77°)
OKLaboklab(40.86% 0.1055 -0.1642)
OKLCHoklch(40.86% 0.195 302.7)
XYZxyz(11.4062, 5.6228, 32.8255)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#61179E #549E17
analogous
#1D179E #61179E #9E1797
triadic
#61179E #9E6117 #179E61
tetradic
#61179E #9E1D17 #549E17 #17979E
square
#61179E #9E1D17 #549E17 #17979E
split-complementary
#61179E #979E17 #179E1D
monochromatic
#1F0733 #400F69 #61179E #821FD3 #9F4BE5

Accessibility & contrast

On white

9.88
#61179E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#61179E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #61179E
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##61179E#FFFFFF#000000##FFFFFF
##61179E1.009.882.129.88
#FFFFFF9.881.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#543F5D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #61179e;
/* rgb */ color: rgb(97, 23, 158);
/* oklch */ color: oklch(40.9% 0.195 302.7);
Tailwind
colors: {
  custom: {
    50: '#9560bc',
    500: '#61179e',
    950: '#000000',
  },
}
SCSS
$custom: #61179e;
$custom-light: #9560bc;
$custom-dark: #000000;
JSON
{
  "hex": "#61179e",
  "rgb": {
    "r": 97,
    "g": 23,
    "b": 158
  },
  "hsl": {
    "h": 272.889,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40859,
    "c": 0.19522,
    "h": 302.7
  },
  "luminance": 0.05623
}

Semantic roles & 50–950 ramp

primary
#61179E
secondary
#82C64A
accent
#F1378B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #61179E

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

Preview Lab → · Contrast checker → · Palette generator →

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