#61179D#61179D

#61179D is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.8% C 0.194 H 303.0°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#61179D
RGBrgb(97, 23, 157)
HSLhsl(273, 74%, 35%)
HSVhsv(273, 85%, 62%)
CMYKcmyk(38.2%, 85.4%, 0%, 38.4%)
CIE-LABlab(28.35, 54.84, -57.02)
CIE-LCHlch(28.35, 79.12, 313.88°)
OKLaboklab(40.77% 0.1059 -0.1629)
OKLCHoklch(40.77% 0.194 303)
XYZxyz(11.3205, 5.5885, 32.3740)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#61179D #539D17
analogous
#1E179D #61179D #9D1796
triadic
#61179D #9D6117 #179D61
tetradic
#61179D #9D1E17 #539D17 #17969D
square
#61179D #9D1E17 #539D17 #17969D
split-complementary
#61179D #969D17 #179D1E
monochromatic
#1F0732 #400F68 #61179D #821FD2 #9F4AE4

Accessibility & contrast

On white

9.92
#61179D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #61179D
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##61179D#FFFFFF#000000##FFFFFF
##61179D1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A0
Deuteranopia (green-blind)
#00429B
Tritanopia (blue-blind)
#543E5D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #61179d;
/* rgb */ color: rgb(97, 23, 157);
/* oklch */ color: oklch(40.8% 0.194 303.0);
Tailwind
colors: {
  custom: {
    50: '#9460bb',
    500: '#61179d',
    950: '#000000',
  },
}
SCSS
$custom: #61179d;
$custom-light: #9460bb;
$custom-dark: #000000;
JSON
{
  "hex": "#61179d",
  "rgb": {
    "r": 97,
    "g": 23,
    "b": 157
  },
  "hsl": {
    "h": 273.134,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40769,
    "c": 0.19427,
    "h": 303
  },
  "luminance": 0.05589
}

Semantic roles & 50–950 ramp

primary
#61179D
secondary
#81C64A
accent
#F1378A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #61179D

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

Preview Lab → · Contrast checker → · Palette generator →

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