#62259A#62259A

#62259A is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.9% C 0.178 H 303.0°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#62259A
RGBrgb(98, 37, 154)
HSLhsl(271, 61%, 37%)
HSVhsv(271, 76%, 60%)
CMYKcmyk(36.4%, 76%, 0%, 39.6%)
CIE-LABlab(30.04, 49.06, -52.42)
CIE-LCHlch(30.04, 71.80, 313.10°)
OKLaboklab(41.9% 0.0971 -0.1494)
OKLCHoklch(41.9% 0.178 303)
XYZxyz(11.5299, 6.2529, 31.1651)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62259A #5D9A25
analogous
#27259A #62259A #9A2598
triadic
#62259A #9A6225 #259A62
tetradic
#62259A #9A2725 #5D9A25 #25989A
square
#62259A #9A2725 #5D9A25 #25989A
split-complementary
#62259A #989A25 #259A27
monochromatic
#230D37 #431969 #62259A #8131CB #9F60D9

Accessibility & contrast

On white

9.33
#62259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#62259A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62259A
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62259A#FFFFFF#000000##FFFFFF
##62259A1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#004698
Tritanopia (blue-blind)
#56435E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #62259a;
/* rgb */ color: rgb(98, 37, 154);
/* oklch */ color: oklch(41.9% 0.178 303.0);
Tailwind
colors: {
  custom: {
    50: '#9466b9',
    500: '#62259a',
    950: '#000000',
  },
}
SCSS
$custom: #62259a;
$custom-light: #9466b9;
$custom-dark: #000000;
JSON
{
  "hex": "#62259a",
  "rgb": {
    "r": 98,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 271.282,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41899,
    "c": 0.17823,
    "h": 303
  },
  "luminance": 0.06253
}

Semantic roles & 50–950 ramp

primary
#62259A
secondary
#8BBE5D
accent
#E44390
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #62259A

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

Preview Lab → · Contrast checker → · Palette generator →

#62259A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva