#62259E#62259E

#62259E is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.182 H 301.8°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#62259E
RGBrgb(98, 37, 158)
HSLhsl(270, 62%, 38%)
HSVhsv(270, 77%, 62%)
CMYKcmyk(38%, 76.6%, 0%, 38%)
CIE-LABlab(30.37, 50.03, -54.32)
CIE-LCHlch(30.37, 73.85, 312.65°)
OKLaboklab(42.23% 0.0962 -0.155)
OKLCHoklch(42.23% 0.182 301.8)
XYZxyz(11.8686, 6.3884, 32.9489)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62259E #619E25
analogous
#26259E #62259E #9E259D
triadic
#62259E #9E6225 #259E62
tetradic
#62259E #9E2625 #619E25 #259D9E
square
#62259E #9E2625 #619E25 #259D9E
split-complementary
#62259E #9D9E25 #259E26
monochromatic
#240E3B #43196C #62259E #8131CF #9F63DA

Accessibility & contrast

On white

9.22
#62259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62259E
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62259E#FFFFFF#000000##FFFFFF
##62259E1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#554460
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #62259e;
/* rgb */ color: rgb(98, 37, 158);
/* oklch */ color: oklch(42.2% 0.182 301.8);
Tailwind
colors: {
  custom: {
    50: '#9466bc',
    500: '#62259e',
    950: '#000000',
  },
}
SCSS
$custom: #62259e;
$custom-light: #9466bc;
$custom-dark: #000000;
JSON
{
  "hex": "#62259e",
  "rgb": {
    "r": 98,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 270.248,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42234,
    "c": 0.18244,
    "h": 301.8
  },
  "luminance": 0.06388
}

Semantic roles & 50–950 ramp

primary
#62259E
secondary
#8FC05F
accent
#E54393
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #62259E

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

Preview Lab → · Contrast checker → · Palette generator →

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