#61317F#61317F

#61317F is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.3% C 0.131 H 310.3°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#61317F
RGBrgb(97, 49, 127)
HSLhsl(277, 44%, 35%)
HSVhsv(277, 61%, 50%)
CMYKcmyk(23.6%, 61.4%, 0%, 50.2%)
CIE-LABlab(30.08, 36.28, -35.67)
CIE-LCHlch(30.08, 50.87, 315.49°)
OKLaboklab(41.28% 0.085 -0.1003)
OKLCHoklch(41.28% 0.131 310.3)
XYZxyz(9.8581, 6.2705, 20.7656)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#61317F #4F7F31
analogous
#3A317F #61317F #7F3176
triadic
#61317F #7F6131 #317F61
tetradic
#61317F #7F3A31 #4F7F31 #31767F
square
#61317F #7F3A31 #4F7F31 #31767F
split-complementary
#61317F #767F31 #317F3A
monochromatic
#1E0F27 #3F2053 #61317F #8342AB #A066C4

Accessibility & contrast

On white

9.32
#61317F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #61317F
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##61317F#FFFFFF#000000##FFFFFF
##61317F1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144581
Deuteranopia (green-blind)
#29487D
Tritanopia (blue-blind)
#5D4053
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #61317f;
/* rgb */ color: rgb(97, 49, 127);
/* oklch */ color: oklch(41.3% 0.131 310.3);
Tailwind
colors: {
  custom: {
    50: '#906ca4',
    500: '#61317f',
    950: '#000000',
  },
}
SCSS
$custom: #61317f;
$custom-light: #906ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#61317f",
  "rgb": {
    "r": 97,
    "g": 49,
    "b": 127
  },
  "hsl": {
    "h": 276.923,
    "s": 44.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41278,
    "c": 0.13148,
    "h": 310.3
  },
  "luminance": 0.0627
}

Semantic roles & 50–950 ramp

primary
#61317F
secondary
#7DAB60
accent
#D45485
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #61317F

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

Preview Lab → · Contrast checker → · Palette generator →

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