#622286#622286

#622286 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.161 H 310.3°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#622286
RGBrgb(98, 34, 134)
HSLhsl(278, 60%, 33%)
HSVhsv(278, 75%, 53%)
CMYKcmyk(26.9%, 74.6%, 0%, 47.5%)
CIE-LABlab(28.01, 45.63, -43.37)
CIE-LCHlch(28.01, 62.95, 316.46°)
OKLaboklab(39.97% 0.104 -0.1228)
OKLCHoklch(39.97% 0.161 310.3)
XYZxyz(9.9113, 5.4622, 23.0818)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622286 #468622
analogous
#302286 #622286 #862278
triadic
#622286 #866222 #228662
tetradic
#622286 #863022 #468622 #227886
square
#622286 #863022 #468622 #227886
split-complementary
#622286 #788622 #228630
monochromatic
#1B0924 #3E1655 #622286 #862EB7 #A350D3

Accessibility & contrast

On white

10.04
#622286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#622286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622286
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622286#FFFFFF#000000##FFFFFF
##6222861.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#0E4384
Tritanopia (blue-blind)
#5D3952
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #622286;
/* rgb */ color: rgb(98, 34, 134);
/* oklch */ color: oklch(40.0% 0.161 310.3);
Tailwind
colors: {
  custom: {
    50: '#9364aa',
    500: '#622286',
    950: '#000000',
  },
}
SCSS
$custom: #622286;
$custom-light: #9364aa;
$custom-dark: #000000;
JSON
{
  "hex": "#622286",
  "rgb": {
    "r": 98,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 278.4,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39972,
    "c": 0.16094,
    "h": 310.3
  },
  "luminance": 0.05462
}

Semantic roles & 50–950 ramp

primary
#622286
secondary
#73B64E
accent
#E3457E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #622286

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

Preview Lab → · Contrast checker → · Palette generator →

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