#62259C#62259C

#62259C is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.180 H 302.4°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#62259C
RGBrgb(98, 37, 156)
HSLhsl(271, 62%, 38%)
HSVhsv(271, 76%, 61%)
CMYKcmyk(37.2%, 76.3%, 0%, 38.8%)
CIE-LABlab(30.21, 49.55, -53.38)
CIE-LCHlch(30.21, 72.83, 312.87°)
OKLaboklab(42.07% 0.0967 -0.1522)
OKLCHoklch(42.07% 0.18 302.4)
XYZxyz(11.6979, 6.3201, 32.0497)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62259C #5F9C25
analogous
#26259C #62259C #9C259B
triadic
#62259C #9C6225 #259C62
tetradic
#62259C #9C2625 #5F9C25 #259B9C
square
#62259C #9C2625 #5F9C25 #259B9C
split-complementary
#62259C #9B9C25 #259C26
monochromatic
#240E39 #43196B #62259C #8131CD #9F62DA

Accessibility & contrast

On white

9.28
#62259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62259C
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62259C#FFFFFF#000000##FFFFFF
##62259C1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#56435F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #62259c;
/* rgb */ color: rgb(98, 37, 156);
/* oklch */ color: oklch(42.1% 0.180 302.4);
Tailwind
colors: {
  custom: {
    50: '#9466ba',
    500: '#62259c',
    950: '#000000',
  },
}
SCSS
$custom: #62259c;
$custom-light: #9466ba;
$custom-dark: #000000;
JSON
{
  "hex": "#62259c",
  "rgb": {
    "r": 98,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 270.756,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42066,
    "c": 0.18033,
    "h": 302.4
  },
  "luminance": 0.0632
}

Semantic roles & 50–950 ramp

primary
#62259C
secondary
#8DBF5E
accent
#E54392
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #62259C

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

Preview Lab → · Contrast checker → · Palette generator →

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