#622386#622386

#622386 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.160 H 310.2°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#622386
RGBrgb(98, 35, 134)
HSLhsl(278, 59%, 33%)
HSVhsv(278, 74%, 53%)
CMYKcmyk(26.9%, 73.9%, 0%, 47.5%)
CIE-LABlab(28.17, 45.19, -43.12)
CIE-LCHlch(28.17, 62.46, 316.35°)
OKLaboklab(40.08% 0.103 -0.1221)
OKLCHoklch(40.08% 0.16 310.2)
XYZxyz(9.9403, 5.5202, 23.0915)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622386 #478623
analogous
#302386 #622386 #862378
triadic
#622386 #866223 #238662
tetradic
#622386 #863023 #478623 #237886
square
#622386 #863023 #478623 #237886
split-complementary
#622386 #788623 #238630
monochromatic
#1B0A25 #3F1655 #622386 #8530B7 #A352D2

Accessibility & contrast

On white

9.98
#622386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#622386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622386
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622386#FFFFFF#000000##FFFFFF
##6223861.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#104384
Tritanopia (blue-blind)
#5D3952
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #622386;
/* rgb */ color: rgb(98, 35, 134);
/* oklch */ color: oklch(40.1% 0.160 310.2);
Tailwind
colors: {
  custom: {
    50: '#9264aa',
    500: '#622386',
    950: '#000000',
  },
}
SCSS
$custom: #622386;
$custom-light: #9264aa;
$custom-dark: #000000;
JSON
{
  "hex": "#622386",
  "rgb": {
    "r": 98,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 278.182,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40083,
    "c": 0.15971,
    "h": 310.2
  },
  "luminance": 0.0552
}

Semantic roles & 50–950 ramp

primary
#622386
secondary
#74B54F
accent
#E2467F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #622386

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

Preview Lab → · Contrast checker → · Palette generator →

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