#621790#621790

#621790 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.8% C 0.182 H 307.7°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#621790
RGBrgb(98, 23, 144)
HSLhsl(277, 72%, 33%)
HSVhsv(277, 84%, 56%)
CMYKcmyk(31.9%, 84%, 0%, 43.5%)
CIE-LABlab(27.36, 52.07, -50.64)
CIE-LCHlch(27.36, 72.63, 315.79°)
OKLaboklab(39.77% 0.1115 -0.1441)
OKLCHoklch(39.77% 0.182 307.7)
XYZxyz(10.3764, 5.2232, 26.8417)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621790 #459017
analogous
#251790 #621790 #901781
triadic
#621790 #906217 #179062
tetradic
#621790 #902517 #459017 #178190
square
#621790 #902517 #459017 #178190
split-complementary
#621790 #819017 #179025
monochromatic
#1A0626 #3E0F5B #621790 #861FC5 #A441E1

Accessibility & contrast

On white

10.27
#621790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#621790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621790
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621790#FFFFFF#000000##FFFFFF
##6217901.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#5A3855
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #621790;
/* rgb */ color: rgb(98, 23, 144);
/* oklch */ color: oklch(39.8% 0.182 307.7);
Tailwind
colors: {
  custom: {
    50: '#945fb1',
    500: '#621790',
    950: '#000000',
  },
}
SCSS
$custom: #621790;
$custom-light: #945fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#621790",
  "rgb": {
    "r": 98,
    "g": 23,
    "b": 144
  },
  "hsl": {
    "h": 277.19,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39765,
    "c": 0.18219,
    "h": 307.7
  },
  "luminance": 0.05223
}

Semantic roles & 50–950 ramp

primary
#621790
secondary
#72C142
accent
#EF397E
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #621790

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

Preview Lab → · Contrast checker → · Palette generator →

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