#621274#621274

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

Color values

HEX#621274
RGBrgb(98, 18, 116)
HSLhsl(289, 73%, 26%)
HSVhsv(289, 84%, 45%)
CMYKcmyk(15.5%, 84.5%, 0%, 54.5%)
CIE-LABlab(24.61, 47.72, -37.48)
CIE-LCHlch(24.61, 60.68, 321.86°)
OKLaboklab(37.15% 0.1219 -0.1054)
OKLCHoklch(37.15% 0.161 319.1)
XYZxyz(8.4053, 4.2907, 16.9051)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621274 #247412
analogous
#311274 #621274 #741255
triadic
#621274 #746212 #127462
tetradic
#621274 #743112 #247412 #125574
square
#621274 #743112 #247412 #125574
split-complementary
#621274 #557412 #127431
monochromatic
#16041A #350A3F #621274 #8F1AA9 #BB23DD

Accessibility & contrast

On white

11.30
#621274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#621274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621274
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621274#FFFFFF#000000##FFFFFF
##6212741.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003577
Deuteranopia (green-blind)
#1A3D72
Tritanopia (blue-blind)
#622944
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #621274;
/* rgb */ color: rgb(98, 18, 116);
/* oklch */ color: oklch(37.1% 0.161 319.1);
Tailwind
colors: {
  custom: {
    50: '#925c9d',
    500: '#621274',
    950: '#000000',
  },
}
SCSS
$custom: #621274;
$custom-light: #925c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#621274",
  "rgb": {
    "r": 98,
    "g": 18,
    "b": 116
  },
  "hsl": {
    "h": 288.98,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.37146,
    "c": 0.16112,
    "h": 319.1
  },
  "luminance": 0.0429
}

Semantic roles & 50–950 ramp

primary
#621274
secondary
#4CAB37
accent
#F0385A
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #621274

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

Preview Lab → · Contrast checker → · Palette generator →

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