#62289C#62289C

#62289C is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.177 H 302.0°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#62289C
RGBrgb(98, 40, 156)
HSLhsl(270, 59%, 38%)
HSVhsv(270, 74%, 61%)
CMYKcmyk(37.2%, 74.4%, 0%, 38.8%)
CIE-LABlab(30.68, 48.21, -52.61)
CIE-LCHlch(30.68, 71.36, 312.50°)
OKLaboklab(42.4% 0.0938 -0.15)
OKLCHoklch(42.4% 0.177 302)
XYZxyz(11.7951, 6.5145, 32.0821)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62289C #629C28
analogous
#28289C #62289C #9C289C
triadic
#62289C #9C6228 #289C62
tetradic
#62289C #9C2828 #629C28 #289C9C
square
#62289C #9C2828 #629C28 #289C9C
split-complementary
#62289C #9C9C28 #289C28
monochromatic
#250F3B #431C6B #62289C #8136CB #9F67D8

Accessibility & contrast

On white

9.12
#62289C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#62289C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62289C
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62289C#FFFFFF#000000##FFFFFF
##62289C1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#00489A
Tritanopia (blue-blind)
#564560
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #62289c;
/* rgb */ color: rgb(98, 40, 156);
/* oklch */ color: oklch(42.4% 0.177 302.0);
Tailwind
colors: {
  custom: {
    50: '#9468ba',
    500: '#62289c',
    950: '#000000',
  },
}
SCSS
$custom: #62289c;
$custom-light: #9468ba;
$custom-dark: #000000;
JSON
{
  "hex": "#62289c",
  "rgb": {
    "r": 98,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 270,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42396,
    "c": 0.17694,
    "h": 302
  },
  "luminance": 0.06515
}

Semantic roles & 50–950 ramp

primary
#62289C
secondary
#90BE62
accent
#E24594
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #62289C

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

Preview Lab → · Contrast checker → · Palette generator →

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