#62279F#62279F

#62279F is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.181 H 301.3°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#62279F
RGBrgb(98, 39, 159)
HSLhsl(270, 61%, 39%)
HSVhsv(270, 75%, 62%)
CMYKcmyk(38.4%, 75.5%, 0%, 37.6%)
CIE-LABlab(30.76, 49.41, -54.29)
CIE-LCHlch(30.76, 73.41, 312.30°)
OKLaboklab(42.53% 0.0941 -0.1549)
OKLCHoklch(42.53% 0.181 301.3)
XYZxyz(12.0190, 6.5508, 33.4254)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62279F #649F27
analogous
#27289F #62279F #9E279F
triadic
#62279F #9F6227 #279F62
tetradic
#62279F #9F2728 #649F27 #279F9E
square
#62279F #9F2728 #649F27 #279F9E
split-complementary
#62279F #9F9E27 #289F27
monochromatic
#250F3D #441B6E #62279F #8036CE #9F67DA

Accessibility & contrast

On white

9.09
#62279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#62279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62279F
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62279F#FFFFFF#000000##FFFFFF
##62279F1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #62279f;
/* rgb */ color: rgb(98, 39, 159);
/* oklch */ color: oklch(42.5% 0.181 301.3);
Tailwind
colors: {
  custom: {
    50: '#9467bc',
    500: '#62279f',
    950: '#000000',
  },
}
SCSS
$custom: #62279f;
$custom-light: #9467bc;
$custom-dark: #000000;
JSON
{
  "hex": "#62279f",
  "rgb": {
    "r": 98,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 269.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42534,
    "c": 0.1813,
    "h": 301.3
  },
  "luminance": 0.06551
}

Semantic roles & 50–950 ramp

primary
#62279F
secondary
#92C062
accent
#E44495
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #62279F

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

Preview Lab → · Contrast checker → · Palette generator →

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