#61317E#61317E

#61317E is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.2% C 0.130 H 310.7°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#61317E
RGBrgb(97, 49, 126)
HSLhsl(277, 44%, 34%)
HSVhsv(277, 61%, 49%)
CMYKcmyk(23%, 61.1%, 0%, 50.6%)
CIE-LABlab(30.02, 36.04, -35.14)
CIE-LCHlch(30.02, 50.33, 315.72°)
OKLaboklab(41.21% 0.085 -0.0988)
OKLCHoklch(41.21% 0.13 310.7)
XYZxyz(9.7933, 6.2446, 20.4240)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#61317E #4E7E31
analogous
#3B317E #61317E #7E3175
triadic
#61317E #7E6131 #317E61
tetradic
#61317E #7E3B31 #4E7E31 #31757E
square
#61317E #7E3B31 #4E7E31 #31757E
split-complementary
#61317E #757E31 #317E3B
monochromatic
#1D0F26 #3F2052 #61317E #8342AA #A066C3

Accessibility & contrast

On white

9.34
#61317E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#61317E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #61317E
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##61317E#FFFFFF#000000##FFFFFF
##61317E1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164480
Deuteranopia (green-blind)
#2A487C
Tritanopia (blue-blind)
#5D3F52
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #61317e;
/* rgb */ color: rgb(97, 49, 126);
/* oklch */ color: oklch(41.2% 0.130 310.7);
Tailwind
colors: {
  custom: {
    50: '#906ca4',
    500: '#61317e',
    950: '#000000',
  },
}
SCSS
$custom: #61317e;
$custom-light: #906ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#61317e",
  "rgb": {
    "r": 97,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 277.403,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41211,
    "c": 0.13031,
    "h": 310.7
  },
  "luminance": 0.06244
}

Semantic roles & 50–950 ramp

primary
#61317E
secondary
#7CAB60
accent
#D45484
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #61317E

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

Preview Lab → · Contrast checker → · Palette generator →

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