#61227F#61227F

#61227F is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.3% C 0.153 H 312.5°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#61227F
RGBrgb(97, 34, 127)
HSLhsl(281, 58%, 32%)
HSVhsv(281, 73%, 50%)
CMYKcmyk(23.6%, 73.2%, 0%, 50.2%)
CIE-LABlab(27.35, 43.82, -40.06)
CIE-LCHlch(27.35, 59.37, 317.57°)
OKLaboklab(39.3% 0.1036 -0.1131)
OKLCHoklch(39.3% 0.153 312.5)
XYZxyz(9.3319, 5.2180, 20.5902)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#61227F #407F22
analogous
#33227F #61227F #7F226F
triadic
#61227F #7F6122 #227F61
tetradic
#61227F #7F3322 #407F22 #226F7F
square
#61227F #7F3322 #407F22 #226F7F
split-complementary
#61227F #6F7F22 #227F33
monochromatic
#17081E #3C154F #61227F #862FAF #A54CCF

Accessibility & contrast

On white

10.28
#61227F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#61227F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #61227F
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##61227F#FFFFFF#000000##FFFFFF
##61227F1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#18427D
Tritanopia (blue-blind)
#5E364E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #61227f;
/* rgb */ color: rgb(97, 34, 127);
/* oklch */ color: oklch(39.3% 0.153 312.5);
Tailwind
colors: {
  custom: {
    50: '#9163a5',
    500: '#61227f',
    950: '#000000',
  },
}
SCSS
$custom: #61227f;
$custom-light: #9163a5;
$custom-dark: #000000;
JSON
{
  "hex": "#61227f",
  "rgb": {
    "r": 97,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 280.645,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39304,
    "c": 0.15342,
    "h": 312.5
  },
  "luminance": 0.05218
}

Semantic roles & 50–950 ramp

primary
#61227F
secondary
#6CB24B
accent
#E14779
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #61227F

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

Preview Lab → · Contrast checker → · Palette generator →

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