#622D8D#622D8D

#622D8D is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.8% C 0.154 H 306.1°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#622D8D
RGBrgb(98, 45, 141)
HSLhsl(273, 52%, 36%)
HSVhsv(273, 68%, 55%)
CMYKcmyk(30.5%, 68.1%, 0%, 44.7%)
CIE-LABlab(30.39, 42.08, -43.87)
CIE-LCHlch(30.39, 60.79, 313.80°)
OKLaboklab(41.83% 0.0908 -0.1243)
OKLCHoklch(41.83% 0.154 306.1)
XYZxyz(10.7821, 6.3966, 25.8608)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622D8D #588D2D
analogous
#322D8D #622D8D #8D2D88
triadic
#622D8D #8D622D #2D8D62
tetradic
#622D8D #8D322D #588D2D #2D888D
square
#622D8D #8D322D #588D2D #2D888D
split-complementary
#622D8D #888D2D #2D8D32
monochromatic
#220F30 #421E5F #622D8D #823CBB #A066CE

Accessibility & contrast

On white

9.21
#622D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#622D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622D8D
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622D8D#FFFFFF#000000##FFFFFF
##622D8D1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#13488B
Tritanopia (blue-blind)
#5B4259
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #622d8d;
/* rgb */ color: rgb(98, 45, 141);
/* oklch */ color: oklch(41.8% 0.154 306.1);
Tailwind
colors: {
  custom: {
    50: '#926aaf',
    500: '#622d8d',
    950: '#000000',
  },
}
SCSS
$custom: #622d8d;
$custom-light: #926aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#622d8d",
  "rgb": {
    "r": 98,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 273.125,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41834,
    "c": 0.15398,
    "h": 306.1
  },
  "luminance": 0.06397
}

Semantic roles & 50–950 ramp

primary
#622D8D
secondary
#87B561
accent
#DB4D8C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #622D8D

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

Preview Lab → · Contrast checker → · Palette generator →

#622D8D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva