#62279D#62279D

#62279D is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.179 H 301.9°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#62279D
RGBrgb(98, 39, 157)
HSLhsl(270, 60%, 38%)
HSVhsv(270, 75%, 62%)
CMYKcmyk(37.6%, 75.2%, 0%, 38.4%)
CIE-LABlab(30.60, 48.91, -53.35)
CIE-LCHlch(30.60, 72.37, 312.52°)
OKLaboklab(42.37% 0.0946 -0.1522)
OKLCHoklch(42.37% 0.179 301.9)
XYZxyz(11.8469, 6.4820, 32.5188)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62279D #629D27
analogous
#27279D #62279D #9D279D
triadic
#62279D #9D6227 #279D62
tetradic
#62279D #9D2727 #629D27 #279D9D
square
#62279D #9D2727 #629D27 #279D9D
split-complementary
#62279D #9D9D27 #279D27
monochromatic
#250F3B #431B6C #62279D #8135CD #9F66D9

Accessibility & contrast

On white

9.14
#62279D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#62279D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62279D
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62279D#FFFFFF#000000##FFFFFF
##62279D1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#00479B
Tritanopia (blue-blind)
#554560
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #62279d;
/* rgb */ color: rgb(98, 39, 157);
/* oklch */ color: oklch(42.4% 0.179 301.9);
Tailwind
colors: {
  custom: {
    50: '#9467bb',
    500: '#62279d',
    950: '#000000',
  },
}
SCSS
$custom: #62279d;
$custom-light: #9467bb;
$custom-dark: #000000;
JSON
{
  "hex": "#62279d",
  "rgb": {
    "r": 98,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 270,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42367,
    "c": 0.17915,
    "h": 301.9
  },
  "luminance": 0.06482
}

Semantic roles & 50–950 ramp

primary
#62279D
secondary
#90BF61
accent
#E34494
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #62279D

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

Preview Lab → · Contrast checker → · Palette generator →

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