#61218F#61218F

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

Color values

HEX#61218F
RGBrgb(97, 33, 143)
HSLhsl(275, 63%, 35%)
HSVhsv(275, 77%, 56%)
CMYKcmyk(32.2%, 76.9%, 0%, 43.9%)
CIE-LABlab(28.41, 47.95, -48.32)
CIE-LCHlch(28.41, 68.07, 314.78°)
OKLaboklab(40.44% 0.1019 -0.1374)
OKLCHoklch(40.44% 0.171 306.6)
XYZxyz(10.4305, 5.6124, 26.5151)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#61218F #4F8F21
analogous
#2A218F #61218F #8F2186
triadic
#61218F #8F6121 #218F61
tetradic
#61218F #8F2A21 #4F8F21 #21868F
square
#61218F #8F2A21 #4F8F21 #21868F
split-complementary
#61218F #868F21 #218F2A
monochromatic
#1E0A2C #3F165D #61218F #832CC1 #A053D7

Accessibility & contrast

On white

9.89
#61218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #61218F
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##61218F#FFFFFF#000000##FFFFFF
##61218F1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#593C57
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #61218f;
/* rgb */ color: rgb(97, 33, 143);
/* oklch */ color: oklch(40.4% 0.171 306.6);
Tailwind
colors: {
  custom: {
    50: '#9363b1',
    500: '#61218f',
    950: '#000000',
  },
}
SCSS
$custom: #61218f;
$custom-light: #9363b1;
$custom-dark: #000000;
JSON
{
  "hex": "#61218f",
  "rgb": {
    "r": 97,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 274.909,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40443,
    "c": 0.17105,
    "h": 306.6
  },
  "luminance": 0.05612
}

Semantic roles & 50–950 ramp

primary
#61218F
secondary
#7DBB51
accent
#E64287
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #61218F

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

Preview Lab → · Contrast checker → · Palette generator →

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