#621994#621994

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

Color values

HEX#621994
RGBrgb(98, 25, 148)
HSLhsl(276, 71%, 34%)
HSVhsv(276, 83%, 58%)
CMYKcmyk(33.8%, 83.1%, 0%, 42%)
CIE-LABlab(27.93, 52.30, -52.19)
CIE-LCHlch(27.93, 73.89, 315.06°)
OKLaboklab(40.26% 0.1089 -0.1487)
OKLCHoklch(40.26% 0.184 306.2)
XYZxyz(10.7287, 5.4302, 28.4942)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621994 #4B9419
analogous
#251994 #621994 #941989
triadic
#621994 #946219 #199462
tetradic
#621994 #942519 #4B9419 #198994
square
#621994 #942519 #4B9419 #198994
split-complementary
#621994 #899419 #199425
monochromatic
#1D072B #3F1060 #621994 #8522C8 #A247E0

Accessibility & contrast

On white

10.07
#621994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #621994
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621994#FFFFFF#000000##FFFFFF
##6219941.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#593B58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #621994;
/* rgb */ color: rgb(98, 25, 148);
/* oklch */ color: oklch(40.3% 0.184 306.2);
Tailwind
colors: {
  custom: {
    50: '#9460b4',
    500: '#621994',
    950: '#000000',
  },
}
SCSS
$custom: #621994;
$custom-light: #9460b4;
$custom-dark: #000000;
JSON
{
  "hex": "#621994",
  "rgb": {
    "r": 98,
    "g": 25,
    "b": 148
  },
  "hsl": {
    "h": 275.61,
    "s": 71.098,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40263,
    "c": 0.18425,
    "h": 306.2
  },
  "luminance": 0.0543
}

Semantic roles & 50–950 ramp

primary
#621994
secondary
#79C147
accent
#EE3A83
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #621994

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

Preview Lab → · Contrast checker → · Palette generator →

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