#61218E#61218E

#61218E is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.170 H 306.9°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#61218E
RGBrgb(97, 33, 142)
HSLhsl(275, 62%, 34%)
HSVhsv(275, 77%, 56%)
CMYKcmyk(31.7%, 76.8%, 0%, 44.3%)
CIE-LABlab(28.33, 47.71, -47.83)
CIE-LCHlch(28.33, 67.56, 314.93°)
OKLaboklab(40.36% 0.1021 -0.1359)
OKLCHoklch(40.36% 0.17 306.9)
XYZxyz(10.3551, 5.5822, 26.1179)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#61218E #4E8E21
analogous
#2A218E #61218E #8E2185
triadic
#61218E #8E6121 #218E61
tetradic
#61218E #8E2A21 #4E8E21 #21858E
square
#61218E #8E2A21 #4E8E21 #21858E
split-complementary
#61218E #858E21 #218E2A
monochromatic
#1D0A2B #3F155C #61218E #832DC0 #A052D7

Accessibility & contrast

On white

9.92
#61218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#61218E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #61218E
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##61218E#FFFFFF#000000##FFFFFF
##61218E1.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)
#004191
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#593C56
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #61218e;
/* rgb */ color: rgb(97, 33, 142);
/* oklch */ color: oklch(40.4% 0.170 306.9);
Tailwind
colors: {
  custom: {
    50: '#9363b0',
    500: '#61218e',
    950: '#000000',
  },
}
SCSS
$custom: #61218e;
$custom-light: #9363b0;
$custom-dark: #000000;
JSON
{
  "hex": "#61218e",
  "rgb": {
    "r": 97,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 275.229,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40362,
    "c": 0.17003,
    "h": 306.9
  },
  "luminance": 0.05582
}

Semantic roles & 50–950 ramp

primary
#61218E
secondary
#7CBA50
accent
#E54286
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #61218E

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

Preview Lab → · Contrast checker → · Palette generator →

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