#62259F#62259F

#62259F is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.183 H 301.5°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#62259F
RGBrgb(98, 37, 159)
HSLhsl(270, 62%, 38%)
HSVhsv(270, 77%, 62%)
CMYKcmyk(38.4%, 76.7%, 0%, 37.6%)
CIE-LABlab(30.46, 50.28, -54.79)
CIE-LCHlch(30.46, 74.37, 312.54°)
OKLaboklab(42.32% 0.0959 -0.1564)
OKLCHoklch(42.32% 0.183 301.5)
XYZxyz(11.9551, 6.4229, 33.4041)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62259F #629F25
analogous
#25259F #62259F #9F259F
triadic
#62259F #9F6225 #259F62
tetradic
#62259F #9F2525 #629F25 #259F9F
square
#62259F #9F2525 #629F25 #259F9F
split-complementary
#62259F #9F9F25 #259F25
monochromatic
#250E3C #43196D #62259F #8132CF #9F64DB

Accessibility & contrast

On white

9.19
#62259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#62259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62259F
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62259F#FFFFFF#000000##FFFFFF
##62259F1.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#554561
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #62259f;
/* rgb */ color: rgb(98, 37, 159);
/* oklch */ color: oklch(42.3% 0.183 301.5);
Tailwind
colors: {
  custom: {
    50: '#9566bc',
    500: '#62259f',
    950: '#000000',
  },
}
SCSS
$custom: #62259f;
$custom-light: #9566bc;
$custom-dark: #000000;
JSON
{
  "hex": "#62259f",
  "rgb": {
    "r": 98,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 270,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42318,
    "c": 0.18349,
    "h": 301.5
  },
  "luminance": 0.06423
}

Semantic roles & 50–950 ramp

primary
#62259F
secondary
#90C05F
accent
#E54294
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #62259F

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

Preview Lab → · Contrast checker → · Palette generator →

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