#62259D#62259D

#62259D is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.1% C 0.181 H 302.1°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#62259D
RGBrgb(98, 37, 157)
HSLhsl(271, 62%, 38%)
HSVhsv(271, 76%, 62%)
CMYKcmyk(37.6%, 76.4%, 0%, 38.4%)
CIE-LABlab(30.29, 49.79, -53.85)
CIE-LCHlch(30.29, 73.34, 312.76°)
OKLaboklab(42.15% 0.0964 -0.1536)
OKLCHoklch(42.15% 0.181 302.1)
XYZxyz(11.7829, 6.3541, 32.4974)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62259D #609D25
analogous
#26259D #62259D #9D259C
triadic
#62259D #9D6225 #259D62
tetradic
#62259D #9D2625 #609D25 #259C9D
square
#62259D #9D2625 #609D25 #259C9D
split-complementary
#62259D #9C9D25 #259D26
monochromatic
#240E3A #43196B #62259D #8131CE #9F62DA

Accessibility & contrast

On white

9.25
#62259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#62259D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62259D
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62259D#FFFFFF#000000##FFFFFF
##62259D1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#00479B
Tritanopia (blue-blind)
#554460
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #62259d;
/* rgb */ color: rgb(98, 37, 157);
/* oklch */ color: oklch(42.1% 0.181 302.1);
Tailwind
colors: {
  custom: {
    50: '#9466bb',
    500: '#62259d',
    950: '#000000',
  },
}
SCSS
$custom: #62259d;
$custom-light: #9466bb;
$custom-dark: #000000;
JSON
{
  "hex": "#62259d",
  "rgb": {
    "r": 98,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 270.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4215,
    "c": 0.18139,
    "h": 302.1
  },
  "luminance": 0.06354
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #62259D

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

Preview Lab → · Contrast checker → · Palette generator →

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