#622D8A#622D8A

#622D8A is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.6% C 0.151 H 307.2°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#622D8A
RGBrgb(98, 45, 138)
HSLhsl(274, 51%, 36%)
HSVhsv(274, 67%, 54%)
CMYKcmyk(29%, 67.4%, 0%, 45.9%)
CIE-LABlab(30.18, 41.34, -42.36)
CIE-LCHlch(30.18, 59.19, 314.30°)
OKLaboklab(41.61% 0.0911 -0.1199)
OKLCHoklch(41.61% 0.151 307.2)
XYZxyz(10.5619, 6.3086, 24.7011)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622D8A #558A2D
analogous
#332D8A #622D8A #8A2D83
triadic
#622D8A #8A622D #2D8A62
tetradic
#622D8A #8A332D #558A2D #2D838A
square
#622D8A #8A332D #558A2D #2D838A
split-complementary
#622D8A #838A2D #2D8A33
monochromatic
#200F2E #411E5C #622D8A #833CB8 #A065CD

Accessibility & contrast

On white

9.29
#622D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#622D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622D8A
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622D8A#FFFFFF#000000##FFFFFF
##622D8A1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#194888
Tritanopia (blue-blind)
#5C4157
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #622d8a;
/* rgb */ color: rgb(98, 45, 138);
/* oklch */ color: oklch(41.6% 0.151 307.2);
Tailwind
colors: {
  custom: {
    50: '#926aad',
    500: '#622d8a',
    950: '#000000',
  },
}
SCSS
$custom: #622d8a;
$custom-light: #926aad;
$custom-dark: #000000;
JSON
{
  "hex": "#622d8a",
  "rgb": {
    "r": 98,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 274.194,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41612,
    "c": 0.15059,
    "h": 307.2
  },
  "luminance": 0.06308
}

Semantic roles & 50–950 ramp

primary
#622D8A
secondary
#84B360
accent
#DA4D8A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #622D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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