#62228D#62228D

#62228D is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.168 H 307.7°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#62228D
RGBrgb(98, 34, 141)
HSLhsl(276, 61%, 34%)
HSVhsv(276, 76%, 55%)
CMYKcmyk(30.5%, 75.9%, 0%, 44.7%)
CIE-LABlab(28.55, 47.25, -46.86)
CIE-LCHlch(28.55, 66.54, 315.24°)
OKLaboklab(40.52% 0.1028 -0.133)
OKLCHoklch(40.52% 0.168 307.7)
XYZxyz(10.4157, 5.6640, 25.7387)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62228D #4D8D22
analogous
#2D228D #62228D #8D2283
triadic
#62228D #8D6222 #228D62
tetradic
#62228D #8D2D22 #4D8D22 #22838D
square
#62228D #8D2D22 #4D8D22 #22838D
split-complementary
#62228D #838D22 #228D2D
monochromatic
#1D0A2A #40165C #62228D #842EBE #A154D6

Accessibility & contrast

On white

9.85
#62228D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#62228D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62228D
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62228D#FFFFFF#000000##FFFFFF
##62228D1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#5B3C56
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #62228d;
/* rgb */ color: rgb(98, 34, 141);
/* oklch */ color: oklch(40.5% 0.168 307.7);
Tailwind
colors: {
  custom: {
    50: '#9364af',
    500: '#62228d',
    950: '#000000',
  },
}
SCSS
$custom: #62228d;
$custom-light: #9364af;
$custom-dark: #000000;
JSON
{
  "hex": "#62228d",
  "rgb": {
    "r": 98,
    "g": 34,
    "b": 141
  },
  "hsl": {
    "h": 275.888,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4052,
    "c": 0.16813,
    "h": 307.7
  },
  "luminance": 0.05664
}

Semantic roles & 50–950 ramp

primary
#62228D
secondary
#7BB951
accent
#E44484
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #62228D

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

Preview Lab → · Contrast checker → · Palette generator →

#62228D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva