#622285#622285

#622285 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.160 H 310.7°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#622285
RGBrgb(98, 34, 133)
HSLhsl(279, 59%, 33%)
HSVhsv(279, 74%, 52%)
CMYKcmyk(26.3%, 74.4%, 0%, 47.8%)
CIE-LABlab(27.94, 45.40, -42.86)
CIE-LCHlch(27.94, 62.44, 316.65°)
OKLaboklab(39.9% 0.1042 -0.1213)
OKLCHoklch(39.9% 0.16 310.7)
XYZxyz(9.8419, 5.4344, 22.7162)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622285 #458522
analogous
#312285 #622285 #852276
triadic
#622285 #856222 #228562
tetradic
#622285 #853122 #458522 #227685
square
#622285 #853122 #458522 #227685
split-complementary
#622285 #768522 #228531
monochromatic
#1A0924 #3E1654 #622285 #862EB6 #A44FD2

Accessibility & contrast

On white

10.06
#622285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #622285
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622285#FFFFFF#000000##FFFFFF
##6222851.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#104383
Tritanopia (blue-blind)
#5D3851
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #622285;
/* rgb */ color: rgb(98, 34, 133);
/* oklch */ color: oklch(39.9% 0.160 310.7);
Tailwind
colors: {
  custom: {
    50: '#9264a9',
    500: '#622285',
    950: '#000000',
  },
}
SCSS
$custom: #622285;
$custom-light: #9264a9;
$custom-dark: #000000;
JSON
{
  "hex": "#622285",
  "rgb": {
    "r": 98,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 278.788,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39896,
    "c": 0.15992,
    "h": 310.7
  },
  "luminance": 0.05434
}

Semantic roles & 50–950 ramp

primary
#622285
secondary
#72B64D
accent
#E2457D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #622285

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

Preview Lab → · Contrast checker → · Palette generator →

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