#621262#621262

#621262 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.9% C 0.146 H 328.1°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#621262
RGBrgb(98, 18, 98)
HSLhsl(300, 69%, 23%)
HSVhsv(300, 82%, 38%)
CMYKcmyk(0%, 81.6%, 0%, 61.6%)
CIE-LABlab(23.38, 44.33, -27.77)
CIE-LCHlch(23.38, 52.31, 327.93°)
OKLaboklab(35.88% 0.1237 -0.077)
OKLCHoklch(35.88% 0.146 328.1)
XYZxyz(7.4578, 3.9117, 11.9151)
Luminance0.0391 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621262 #126212
analogous
#3A1262 #621262 #62123A
triadic
#621262 #626212 #126262
tetradic
#621262 #623A12 #126212 #123A62
square
#621262 #623A12 #126212 #123A62
split-complementary
#621262 #3A6212 #12623A
monochromatic
#1A051A #2E092E #621262 #961B96 #C925C9

Accessibility & contrast

On white

11.78
#621262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#621262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621262
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621262#FFFFFF#000000##FFFFFF
##6212621.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003164
Deuteranopia (green-blind)
#293B60
Tritanopia (blue-blind)
#65203A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #621262;
/* rgb */ color: rgb(98, 18, 98);
/* oklch */ color: oklch(35.9% 0.146 328.1);
Tailwind
colors: {
  custom: {
    50: '#925b8f',
    500: '#621262',
    950: '#000000',
  },
}
SCSS
$custom: #621262;
$custom-light: #925b8f;
$custom-dark: #000000;
JSON
{
  "hex": "#621262",
  "rgb": {
    "r": 98,
    "g": 18,
    "b": 98
  },
  "hsl": {
    "h": 300,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3588,
    "c": 0.14574,
    "h": 328.1
  },
  "luminance": 0.03911
}

Semantic roles & 50–950 ramp

primary
#621262
secondary
#369A36
accent
#EC3C3C
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #621262

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

Preview Lab → · Contrast checker → · Palette generator →

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