#621174#621174

#621174 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.1% C 0.162 H 319.2°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#621174
RGBrgb(98, 17, 116)
HSLhsl(289, 74%, 26%)
HSVhsv(289, 85%, 45%)
CMYKcmyk(15.5%, 85.3%, 0%, 54.5%)
CIE-LABlab(24.51, 48.01, -37.64)
CIE-LCHlch(24.51, 61.01, 321.91°)
OKLaboklab(37.08% 0.1226 -0.1059)
OKLCHoklch(37.08% 0.162 319.2)
XYZxyz(8.3894, 4.2589, 16.8998)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621174 #237411
analogous
#301174 #621174 #741154
triadic
#621174 #746211 #117462
tetradic
#621174 #743011 #237411 #115474
square
#621174 #743011 #237411 #115474
split-complementary
#621174 #547411 #117430
monochromatic
#17041B #35093F #621174 #8F19A9 #BC21DE

Accessibility & contrast

On white

11.34
#621174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#621174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621174
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621174#FFFFFF#000000##FFFFFF
##6211741.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003577
Deuteranopia (green-blind)
#193D72
Tritanopia (blue-blind)
#622844
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #621174;
/* rgb */ color: rgb(98, 17, 116);
/* oklch */ color: oklch(37.1% 0.162 319.2);
Tailwind
colors: {
  custom: {
    50: '#925c9d',
    500: '#621174',
    950: '#000000',
  },
}
SCSS
$custom: #621174;
$custom-light: #925c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#621174",
  "rgb": {
    "r": 98,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 289.091,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.37075,
    "c": 0.162,
    "h": 319.2
  },
  "luminance": 0.04259
}

Semantic roles & 50–950 ramp

primary
#621174
secondary
#4BAB36
accent
#F13759
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #621174

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

Preview Lab → · Contrast checker → · Palette generator →

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