#622980#622980

#622980 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.145 H 311.8°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#622980
RGBrgb(98, 41, 128)
HSLhsl(279, 51%, 33%)
HSVhsv(279, 68%, 50%)
CMYKcmyk(23.4%, 68%, 0%, 49.8%)
CIE-LABlab(28.75, 40.97, -38.42)
CIE-LCHlch(28.75, 56.17, 316.84°)
OKLaboklab(40.36% 0.0968 -0.1083)
OKLCHoklch(40.36% 0.145 311.8)
XYZxyz(9.7255, 5.7413, 21.0137)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622980 #478029
analogous
#362980 #622980 #802972
triadic
#622980 #806229 #298062
tetradic
#622980 #803629 #478029 #297280
square
#622980 #803629 #478029 #297280
split-complementary
#622980 #728029 #298036
monochromatic
#1B0B23 #3F1A52 #622980 #8538AE #A359CA

Accessibility & contrast

On white

9.78
#622980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#622980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622980
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622980#FFFFFF#000000##FFFFFF
##6229801.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004183
Deuteranopia (green-blind)
#20457E
Tritanopia (blue-blind)
#5E3A51
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #622980;
/* rgb */ color: rgb(98, 41, 128);
/* oklch */ color: oklch(40.4% 0.145 311.8);
Tailwind
colors: {
  custom: {
    50: '#9267a5',
    500: '#622980',
    950: '#000000',
  },
}
SCSS
$custom: #622980;
$custom-light: #9267a5;
$custom-dark: #000000;
JSON
{
  "hex": "#622980",
  "rgb": {
    "r": 98,
    "g": 41,
    "b": 128
  },
  "hsl": {
    "h": 279.31,
    "s": 51.479,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40363,
    "c": 0.14524,
    "h": 311.8
  },
  "luminance": 0.05741
}

Semantic roles & 50–950 ramp

primary
#622980
secondary
#74AF55
accent
#DB4D7E
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #622980

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

Preview Lab → · Contrast checker → · Palette generator →

#622980 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva