#622DB2#622DB2

#622DB2 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.8% C 0.195 H 295.5°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#622DB2
RGBrgb(98, 45, 178)
HSLhsl(264, 60%, 44%)
HSVhsv(264, 75%, 70%)
CMYKcmyk(44.9%, 74.7%, 0%, 30.2%)
CIE-LABlab(33.32, 51.52, -61.53)
CIE-LCHlch(33.32, 80.25, 309.94°)
OKLaboklab(44.83% 0.0842 -0.1762)
OKLCHoklch(44.83% 0.195 295.5)
XYZxyz(14.0091, 7.6874, 42.8566)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622DB2 #7DB22D
analogous
#2D3AB2 #622DB2 #A42DB2
triadic
#622DB2 #B2622D #2DB262
tetradic
#622DB2 #B22D3A #7DB22D #2DB2A4
square
#622DB2 #B22D3A #7DB22D #2DB2A4
split-complementary
#622DB2 #B2A42D #3AB22D
monochromatic
#2C1450 #472181 #622DB2 #804BD1 #A37CDE

Accessibility & contrast

On white

8.28
#622DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#622DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622DB2
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622DB2#FFFFFF#000000##FFFFFF
##622DB21.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#004CAF
Tritanopia (blue-blind)
#4C506D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #622db2;
/* rgb */ color: rgb(98, 45, 178);
/* oklch */ color: oklch(44.8% 0.195 295.5);
Tailwind
colors: {
  custom: {
    50: '#966bca',
    500: '#622db2',
    950: '#000000',
  },
}
SCSS
$custom: #622db2;
$custom-light: #966bca;
$custom-dark: #000000;
JSON
{
  "hex": "#622db2",
  "rgb": {
    "r": 98,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 263.91,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44834,
    "c": 0.1953,
    "h": 295.5
  },
  "luminance": 0.07688
}

Semantic roles & 50–950 ramp

primary
#622DB2
secondary
#A6C675
accent
#E345A4
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #622DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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