#62289A#62289A

#62289A is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.175 H 302.6°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#62289A
RGBrgb(98, 40, 154)
HSLhsl(271, 59%, 38%)
HSVhsv(271, 74%, 60%)
CMYKcmyk(36.4%, 74%, 0%, 39.6%)
CIE-LABlab(30.51, 47.72, -51.65)
CIE-LCHlch(30.51, 70.32, 312.73°)
OKLaboklab(42.23% 0.0942 -0.1472)
OKLCHoklch(42.23% 0.175 302.6)
XYZxyz(11.6271, 6.4473, 31.1975)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62289A #609A28
analogous
#29289A #62289A #9A2899
triadic
#62289A #9A6228 #289A62
tetradic
#62289A #9A2928 #609A28 #28999A
square
#62289A #9A2928 #609A28 #28999A
split-complementary
#62289A #999A28 #289A29
monochromatic
#240F39 #431B69 #62289A #8135CA #9F65D7

Accessibility & contrast

On white

9.17
#62289A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#62289A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62289A
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62289A#FFFFFF#000000##FFFFFF
##62289A1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#004798
Tritanopia (blue-blind)
#56445F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #62289a;
/* rgb */ color: rgb(98, 40, 154);
/* oklch */ color: oklch(42.2% 0.175 302.6);
Tailwind
colors: {
  custom: {
    50: '#9468b9',
    500: '#62289a',
    950: '#000000',
  },
}
SCSS
$custom: #62289a;
$custom-light: #9468b9;
$custom-dark: #000000;
JSON
{
  "hex": "#62289a",
  "rgb": {
    "r": 98,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 270.526,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42232,
    "c": 0.17477,
    "h": 302.6
  },
  "luminance": 0.06447
}

Semantic roles & 50–950 ramp

primary
#62289A
secondary
#8EBD61
accent
#E24693
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #62289A

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

Preview Lab → · Contrast checker → · Palette generator →

#62289A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva