#61229C#61229C

#61229C is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.183 H 302.3°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#61229C
RGBrgb(97, 34, 156)
HSLhsl(271, 64%, 37%)
HSVhsv(271, 78%, 61%)
CMYKcmyk(37.8%, 78.2%, 0%, 38.8%)
CIE-LABlab(29.63, 50.64, -54.32)
CIE-LCHlch(29.63, 74.26, 312.99°)
OKLaboklab(41.63% 0.0979 -0.155)
OKLCHoklch(41.63% 0.183 302.3)
XYZxyz(11.5011, 6.0857, 32.0148)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#61229C #5D9C22
analogous
#24229C #61229C #9C229A
triadic
#61229C #9C6122 #229C61
tetradic
#61229C #9C2422 #5D9C22 #229A9C
square
#61229C #9C2422 #5D9C22 #229A9C
split-complementary
#61229C #9A9C22 #229C24
monochromatic
#230C38 #42176A #61229C #802DCE #9E5DDC

Accessibility & contrast

On white

9.47
#61229C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#61229C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #61229C
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##61229C#FFFFFF#000000##FFFFFF
##61229C1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#54425E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #61229c;
/* rgb */ color: rgb(97, 34, 156);
/* oklch */ color: oklch(41.6% 0.183 302.3);
Tailwind
colors: {
  custom: {
    50: '#9465ba',
    500: '#61229c',
    950: '#000000',
  },
}
SCSS
$custom: #61229c;
$custom-light: #9465ba;
$custom-dark: #000000;
JSON
{
  "hex": "#61229c",
  "rgb": {
    "r": 97,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 270.984,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4163,
    "c": 0.18334,
    "h": 302.3
  },
  "luminance": 0.06086
}

Semantic roles & 50–950 ramp

primary
#61229C
secondary
#8BC05A
accent
#E74191
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #61229C

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

Preview Lab → · Contrast checker → · Palette generator →

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