#61287F#61287F

#61287F is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.145 H 311.7°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#61287F
RGBrgb(97, 40, 127)
HSLhsl(279, 52%, 33%)
HSVhsv(279, 69%, 50%)
CMYKcmyk(23.6%, 68.5%, 0%, 50.2%)
CIE-LABlab(28.36, 41.00, -38.43)
CIE-LCHlch(28.36, 56.19, 316.85°)
OKLaboklab(40.03% 0.0967 -0.1084)
OKLCHoklch(40.03% 0.145 311.7)
XYZxyz(9.5186, 5.5915, 20.6524)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#61287F #467F28
analogous
#35287F #61287F #7F2872
triadic
#61287F #7F6128 #287F61
tetradic
#61287F #7F3528 #467F28 #28727F
square
#61287F #7F3528 #467F28 #28727F
split-complementary
#61287F #727F28 #287F35
monochromatic
#1A0B22 #3D1950 #61287F #8537AE #A357CA

Accessibility & contrast

On white

9.91
#61287F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#61287F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #61287F
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##61287F#FFFFFF#000000##FFFFFF
##61287F1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#1F447D
Tritanopia (blue-blind)
#5D3A50
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #61287f;
/* rgb */ color: rgb(97, 40, 127);
/* oklch */ color: oklch(40.0% 0.145 311.7);
Tailwind
colors: {
  custom: {
    50: '#9166a5',
    500: '#61287f',
    950: '#000000',
  },
}
SCSS
$custom: #61287f;
$custom-light: #9166a5;
$custom-dark: #000000;
JSON
{
  "hex": "#61287f",
  "rgb": {
    "r": 97,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 279.31,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40028,
    "c": 0.14523,
    "h": 311.7
  },
  "luminance": 0.05591
}

Semantic roles & 50–950 ramp

primary
#61287F
secondary
#73AF54
accent
#DC4C7E
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #61287F

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

Preview Lab → · Contrast checker → · Palette generator →

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