#621792#621792

#621792 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.9% C 0.184 H 307.0°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#621792
RGBrgb(98, 23, 146)
HSLhsl(277, 73%, 33%)
HSVhsv(277, 84%, 57%)
CMYKcmyk(32.9%, 84.2%, 0%, 42.7%)
CIE-LABlab(27.53, 52.51, -51.60)
CIE-LCHlch(27.53, 73.62, 315.50°)
OKLaboklab(39.93% 0.1109 -0.1469)
OKLCHoklch(39.93% 0.184 307)
XYZxyz(10.5306, 5.2849, 27.6539)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621792 #479217
analogous
#241792 #621792 #921784
triadic
#621792 #926217 #179262
tetradic
#621792 #922417 #479217 #178492
square
#621792 #922417 #479217 #178492
split-complementary
#621792 #849217 #179224
monochromatic
#1B0628 #3F0F5D #621792 #851FC7 #A342E1

Accessibility & contrast

On white

10.21
#621792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#621792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621792
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621792#FFFFFF#000000##FFFFFF
##6217921.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#004190
Tritanopia (blue-blind)
#5A3956
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #621792;
/* rgb */ color: rgb(98, 23, 146);
/* oklch */ color: oklch(39.9% 0.184 307.0);
Tailwind
colors: {
  custom: {
    50: '#945fb3',
    500: '#621792',
    950: '#000000',
  },
}
SCSS
$custom: #621792;
$custom-light: #945fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#621792",
  "rgb": {
    "r": 98,
    "g": 23,
    "b": 146
  },
  "hsl": {
    "h": 276.585,
    "s": 72.781,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39935,
    "c": 0.18408,
    "h": 307
  },
  "luminance": 0.05285
}

Semantic roles & 50–950 ramp

primary
#621792
secondary
#74C243
accent
#EF3880
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #621792

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

Preview Lab → · Contrast checker → · Palette generator →

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