#620256#620256

#620256 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 34.1% C 0.150 H 334.9°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#620256
RGBrgb(98, 2, 86)
HSLhsl(308, 96%, 20%)
HSVhsv(308, 98%, 38%)
CMYKcmyk(0%, 98%, 12.2%, 61.6%)
CIE-LABlab(21.25, 46.36, -23.17)
CIE-LCHlch(21.25, 51.83, 333.45°)
OKLaboklab(34.13% 0.1356 -0.0636)
OKLCHoklch(34.13% 0.15 334.9)
XYZxyz(6.7385, 3.3126, 9.0868)
Luminance0.0331 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#620256 #02620E
analogous
#3E0262 #620256 #620226
triadic
#620256 #566202 #025662
tetradic
#620256 #623E02 #02620E #022662
square
#620256 #623E02 #02620E #022662
split-complementary
#620256 #266202 #02623E
monochromatic
#1E011A #260121 #620256 #9E038B #DA04BF

Accessibility & contrast

On white

12.63
#620256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#620256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #620256
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##620256#FFFFFF#000000##FFFFFF
##6202561.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012B58
Deuteranopia (green-blind)
#2B3854
Tritanopia (blue-blind)
#670F30
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #620256;
/* rgb */ color: rgb(98, 2, 86);
/* oklch */ color: oklch(34.1% 0.150 334.9);
Tailwind
colors: {
  custom: {
    50: '#925686',
    500: '#620256',
    950: '#000000',
  },
}
SCSS
$custom: #620256;
$custom-light: #925686;
$custom-dark: #000000;
JSON
{
  "hex": "#620256",
  "rgb": {
    "r": 98,
    "g": 2,
    "b": 86
  },
  "hsl": {
    "h": 307.5,
    "s": 96,
    "l": 19.608
  },
  "oklch": {
    "l": 0.34133,
    "c": 0.14977,
    "h": 334.9
  },
  "luminance": 0.03312
}

Semantic roles & 50–950 ramp

primary
#620256
secondary
#1FA030
accent
#FF4429
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0D030B
muted
#7E787C

Preview Lab

Preview with #620256

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

Preview Lab → · Contrast checker → · Palette generator →

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