#62289F#62289F

#62289F is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.6% C 0.180 H 301.1°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#62289F
RGBrgb(98, 40, 159)
HSLhsl(269, 60%, 39%)
HSVhsv(269, 75%, 62%)
CMYKcmyk(38.4%, 74.8%, 0%, 37.6%)
CIE-LABlab(30.92, 48.96, -54.04)
CIE-LCHlch(30.92, 72.92, 312.18°)
OKLaboklab(42.65% 0.0932 -0.1542)
OKLCHoklch(42.65% 0.18 301.1)
XYZxyz(12.0523, 6.6174, 33.4365)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62289F #659F28
analogous
#28299F #62289F #9E289F
triadic
#62289F #9F6228 #289F62
tetradic
#62289F #9F2829 #659F28 #289F9E
square
#62289F #9F2829 #659F28 #289F9E
split-complementary
#62289F #9F9E28 #299F28
monochromatic
#260F3D #441C6E #62289F #8037CD #9F68D9

Accessibility & contrast

On white

9.04
#62289F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#62289F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62289F
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62289F#FFFFFF#000000##FFFFFF
##62289F1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#544661
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #62289f;
/* rgb */ color: rgb(98, 40, 159);
/* oklch */ color: oklch(42.6% 0.180 301.1);
Tailwind
colors: {
  custom: {
    50: '#9468bc',
    500: '#62289f',
    950: '#000000',
  },
}
SCSS
$custom: #62289f;
$custom-light: #9468bc;
$custom-dark: #000000;
JSON
{
  "hex": "#62289f",
  "rgb": {
    "r": 98,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 269.244,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42645,
    "c": 0.18017,
    "h": 301.1
  },
  "luminance": 0.06617
}

Semantic roles & 50–950 ramp

primary
#62289F
secondary
#93BF64
accent
#E34596
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #62289F

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

Preview Lab → · Contrast checker → · Palette generator →

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