#61218C#61218C

#61218C is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.168 H 307.6°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#61218C
RGBrgb(97, 33, 140)
HSLhsl(276, 62%, 34%)
HSVhsv(276, 76%, 55%)
CMYKcmyk(30.7%, 76.4%, 0%, 45.1%)
CIE-LABlab(28.17, 47.25, -46.85)
CIE-LCHlch(28.17, 66.53, 315.24°)
OKLaboklab(40.2% 0.1025 -0.1331)
OKLCHoklch(40.2% 0.168 307.6)
XYZxyz(10.2062, 5.5227, 25.3342)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#61218C #4C8C21
analogous
#2C218C #61218C #8C2182
triadic
#61218C #8C6121 #218C61
tetradic
#61218C #8C2C21 #4C8C21 #21828C
square
#61218C #8C2C21 #4C8C21 #21828C
split-complementary
#61218C #828C21 #218C2C
monochromatic
#1C0A29 #3F155A #61218C #832DBE #A151D6

Accessibility & contrast

On white

9.98
#61218C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#61218C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #61218C
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##61218C#FFFFFF#000000##FFFFFF
##61218C1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#5A3B55
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #61218c;
/* rgb */ color: rgb(97, 33, 140);
/* oklch */ color: oklch(40.2% 0.168 307.6);
Tailwind
colors: {
  custom: {
    50: '#9263ae',
    500: '#61218c',
    950: '#000000',
  },
}
SCSS
$custom: #61218c;
$custom-light: #9263ae;
$custom-dark: #000000;
JSON
{
  "hex": "#61218c",
  "rgb": {
    "r": 97,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 275.888,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40201,
    "c": 0.16799,
    "h": 307.6
  },
  "luminance": 0.05523
}

Semantic roles & 50–950 ramp

primary
#61218C
secondary
#7AB94F
accent
#E54384
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #61218C

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

Preview Lab → · Contrast checker → · Palette generator →

#61218C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva