#61228F#61228F

#61228F is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.170 H 306.4°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#61228F
RGBrgb(97, 34, 143)
HSLhsl(275, 62%, 35%)
HSVhsv(275, 76%, 56%)
CMYKcmyk(32.2%, 76.2%, 0%, 43.9%)
CIE-LABlab(28.56, 47.52, -48.08)
CIE-LCHlch(28.56, 67.60, 314.67°)
OKLaboklab(40.55% 0.101 -0.1367)
OKLCHoklch(40.55% 0.17 306.4)
XYZxyz(10.4586, 5.6687, 26.5245)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#61228F #508F22
analogous
#2B228F #61228F #8F2287
triadic
#61228F #8F6122 #228F61
tetradic
#61228F #8F2B22 #508F22 #22878F
square
#61228F #8F2B22 #508F22 #22878F
split-complementary
#61228F #878F22 #228F2B
monochromatic
#1E0A2C #3F165E #61228F #832EC0 #A055D7

Accessibility & contrast

On white

9.84
#61228F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#61228F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #61228F
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##61228F#FFFFFF#000000##FFFFFF
##61228F1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #61228f;
/* rgb */ color: rgb(97, 34, 143);
/* oklch */ color: oklch(40.5% 0.170 306.4);
Tailwind
colors: {
  custom: {
    50: '#9364b1',
    500: '#61228f',
    950: '#000000',
  },
}
SCSS
$custom: #61228f;
$custom-light: #9364b1;
$custom-dark: #000000;
JSON
{
  "hex": "#61228f",
  "rgb": {
    "r": 97,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 274.679,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40548,
    "c": 0.16992,
    "h": 306.4
  },
  "luminance": 0.05669
}

Semantic roles & 50–950 ramp

primary
#61228F
secondary
#7EBA52
accent
#E54387
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #61228F

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

Preview Lab → · Contrast checker → · Palette generator →

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