#62259B#62259B

#62259B is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.0% C 0.179 H 302.7°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#62259B
RGBrgb(98, 37, 155)
HSLhsl(271, 61%, 38%)
HSVhsv(271, 76%, 61%)
CMYKcmyk(36.8%, 76.1%, 0%, 39.2%)
CIE-LABlab(30.12, 49.30, -52.90)
CIE-LCHlch(30.12, 72.31, 312.98°)
OKLaboklab(41.98% 0.0969 -0.1508)
OKLCHoklch(41.98% 0.179 302.7)
XYZxyz(11.6136, 6.2863, 31.6055)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62259B #5E9B25
analogous
#27259B #62259B #9B2599
triadic
#62259B #9B6225 #259B62
tetradic
#62259B #9B2725 #5E9B25 #25999B
square
#62259B #9B2725 #5E9B25 #25999B
split-complementary
#62259B #999B25 #259B27
monochromatic
#240D38 #43196A #62259B #8131CC #9F61D9

Accessibility & contrast

On white

9.30
#62259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#62259B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62259B
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62259B#FFFFFF#000000##FFFFFF
##62259B1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #62259b;
/* rgb */ color: rgb(98, 37, 155);
/* oklch */ color: oklch(42.0% 0.179 302.7);
Tailwind
colors: {
  custom: {
    50: '#9466b9',
    500: '#62259b',
    950: '#000000',
  },
}
SCSS
$custom: #62259b;
$custom-light: #9466b9;
$custom-dark: #000000;
JSON
{
  "hex": "#62259b",
  "rgb": {
    "r": 98,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 271.017,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41982,
    "c": 0.17929,
    "h": 302.7
  },
  "luminance": 0.06286
}

Semantic roles & 50–950 ramp

primary
#62259B
secondary
#8CBF5D
accent
#E54391
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #62259B

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

Preview Lab → · Contrast checker → · Palette generator →

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