#62288E#62288E

#62288E is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.3% C 0.162 H 306.6°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#62288E
RGBrgb(98, 40, 142)
HSLhsl(274, 56%, 36%)
HSVhsv(274, 72%, 56%)
CMYKcmyk(31%, 71.8%, 0%, 44.3%)
CIE-LABlab(29.58, 44.78, -45.80)
CIE-LCHlch(29.58, 64.05, 314.36°)
OKLaboklab(41.28% 0.0964 -0.13)
OKLCHoklch(41.28% 0.162 306.6)
XYZxyz(10.6772, 6.0674, 26.1946)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62288E #548E28
analogous
#2F288E #62288E #8E2887
triadic
#62288E #8E6228 #288E62
tetradic
#62288E #8E2F28 #548E28 #28878E
square
#62288E #8E2F28 #548E28 #28878E
split-complementary
#62288E #878E28 #288E2F
monochromatic
#200D2F #411B5E #62288E #8335BE #A05FD2

Accessibility & contrast

On white

9.49
#62288E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#62288E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62288E
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62288E#FFFFFF#000000##FFFFFF
##62288E1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#05468C
Tritanopia (blue-blind)
#5A3F58
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #62288e;
/* rgb */ color: rgb(98, 40, 142);
/* oklch */ color: oklch(41.3% 0.162 306.6);
Tailwind
colors: {
  custom: {
    50: '#9367b0',
    500: '#62288e',
    950: '#000000',
  },
}
SCSS
$custom: #62288e;
$custom-light: #9367b0;
$custom-dark: #000000;
JSON
{
  "hex": "#62288e",
  "rgb": {
    "r": 98,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 274.118,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41277,
    "c": 0.16181,
    "h": 306.6
  },
  "luminance": 0.06067
}

Semantic roles & 50–950 ramp

primary
#62288E
secondary
#83B75B
accent
#DF488A
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #62288E

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

Preview Lab → · Contrast checker → · Palette generator →

#62288E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva