#62279A#62279A

#62279A is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.1% C 0.176 H 302.8°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#62279A
RGBrgb(98, 39, 154)
HSLhsl(271, 60%, 38%)
HSVhsv(271, 75%, 60%)
CMYKcmyk(36.4%, 74.7%, 0%, 39.6%)
CIE-LABlab(30.35, 48.17, -51.92)
CIE-LCHlch(30.35, 70.82, 312.86°)
OKLaboklab(42.12% 0.0952 -0.148)
OKLCHoklch(42.12% 0.176 302.8)
XYZxyz(11.5939, 6.3808, 31.1864)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62279A #5F9A27
analogous
#29279A #62279A #9A2798
triadic
#62279A #9A6227 #279A62
tetradic
#62279A #9A2927 #5F9A27 #27989A
square
#62279A #9A2927 #5F9A27 #27989A
split-complementary
#62279A #989A27 #279A29
monochromatic
#240E38 #431B69 #62279A #8133CB #9F64D8

Accessibility & contrast

On white

9.23
#62279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#62279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62279A
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62279A#FFFFFF#000000##FFFFFF
##62279A1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#004798
Tritanopia (blue-blind)
#56445E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #62279a;
/* rgb */ color: rgb(98, 39, 154);
/* oklch */ color: oklch(42.1% 0.176 302.8);
Tailwind
colors: {
  custom: {
    50: '#9467b9',
    500: '#62279a',
    950: '#000000',
  },
}
SCSS
$custom: #62279a;
$custom-light: #9467b9;
$custom-dark: #000000;
JSON
{
  "hex": "#62279a",
  "rgb": {
    "r": 98,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 270.783,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42119,
    "c": 0.17596,
    "h": 302.8
  },
  "luminance": 0.06381
}

Semantic roles & 50–950 ramp

primary
#62279A
secondary
#8DBD5F
accent
#E34592
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #62279A

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

Preview Lab → · Contrast checker → · Palette generator →

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