#621796#621796

#621796 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.3% C 0.188 H 305.7°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#621796
RGBrgb(98, 23, 150)
HSLhsl(275, 73%, 34%)
HSVhsv(275, 85%, 59%)
CMYKcmyk(34.7%, 84.7%, 0%, 41.2%)
CIE-LABlab(27.88, 53.41, -53.50)
CIE-LCHlch(27.88, 75.60, 314.95°)
OKLaboklab(40.28% 0.1097 -0.1525)
OKLCHoklch(40.28% 0.188 305.7)
XYZxyz(10.8472, 5.4116, 29.3213)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621796 #4B9617
analogous
#231796 #621796 #96178B
triadic
#621796 #966217 #179662
tetradic
#621796 #962317 #4B9617 #178B96
square
#621796 #962317 #4B9617 #178B96
split-complementary
#621796 #8B9617 #179623
monochromatic
#1D072C #3F0F61 #621796 #851FCB #A245E2

Accessibility & contrast

On white

10.09
#621796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#621796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621796
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621796#FFFFFF#000000##FFFFFF
##6217961.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#004294
Tritanopia (blue-blind)
#583B59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #621796;
/* rgb */ color: rgb(98, 23, 150);
/* oklch */ color: oklch(40.3% 0.188 305.7);
Tailwind
colors: {
  custom: {
    50: '#9460b6',
    500: '#621796',
    950: '#000000',
  },
}
SCSS
$custom: #621796;
$custom-light: #9460b6;
$custom-dark: #000000;
JSON
{
  "hex": "#621796",
  "rgb": {
    "r": 98,
    "g": 23,
    "b": 150
  },
  "hsl": {
    "h": 275.433,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40281,
    "c": 0.18785,
    "h": 305.7
  },
  "luminance": 0.05411
}

Semantic roles & 50–950 ramp

primary
#621796
secondary
#79C345
accent
#F03883
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #621796

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

Preview Lab → · Contrast checker → · Palette generator →

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