#61228B#61228B

#61228B is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.166 H 307.9°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#61228B
RGBrgb(97, 34, 139)
HSLhsl(276, 61%, 34%)
HSVhsv(276, 76%, 55%)
CMYKcmyk(30.2%, 75.5%, 0%, 45.5%)
CIE-LABlab(28.25, 46.58, -46.11)
CIE-LCHlch(28.25, 65.55, 315.29°)
OKLaboklab(40.23% 0.1017 -0.1309)
OKLCHoklch(40.23% 0.166 307.9)
XYZxyz(10.1610, 5.5497, 24.9570)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#61228B #4C8B22
analogous
#2D228B #61228B #8B2281
triadic
#61228B #8B6122 #228B61
tetradic
#61228B #8B2D22 #4C8B22 #22818B
square
#61228B #8B2D22 #4C8B22 #22818B
split-complementary
#61228B #818B22 #228B2D
monochromatic
#1C0A29 #3F165A #61228B #832EBC #A153D5

Accessibility & contrast

On white

9.95
#61228B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#61228B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #61228B
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##61228B#FFFFFF#000000##FFFFFF
##61228B1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#004389
Tritanopia (blue-blind)
#5A3B55
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #61228b;
/* rgb */ color: rgb(97, 34, 139);
/* oklch */ color: oklch(40.2% 0.166 307.9);
Tailwind
colors: {
  custom: {
    50: '#9264ae',
    500: '#61228b',
    950: '#000000',
  },
}
SCSS
$custom: #61228b;
$custom-light: #9264ae;
$custom-dark: #000000;
JSON
{
  "hex": "#61228b",
  "rgb": {
    "r": 97,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 276,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40227,
    "c": 0.16579,
    "h": 307.9
  },
  "luminance": 0.0555
}

Semantic roles & 50–950 ramp

primary
#61228B
secondary
#7AB850
accent
#E44484
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #61228B

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

Preview Lab → · Contrast checker → · Palette generator →

#61228B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva