#62279B#62279B

#62279B is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.177 H 302.5°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#62279B
RGBrgb(98, 39, 155)
HSLhsl(271, 60%, 38%)
HSVhsv(271, 75%, 61%)
CMYKcmyk(36.8%, 74.8%, 0%, 39.2%)
CIE-LABlab(30.43, 48.42, -52.39)
CIE-LCHlch(30.43, 71.34, 312.74°)
OKLaboklab(42.2% 0.095 -0.1494)
OKLCHoklch(42.2% 0.177 302.5)
XYZxyz(11.6775, 6.4142, 31.6269)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62279B #609B27
analogous
#28279B #62279B #9B279A
triadic
#62279B #9B6227 #279B62
tetradic
#62279B #9B2827 #609B27 #279A9B
square
#62279B #9B2827 #609B27 #279A9B
split-complementary
#62279B #9A9B27 #279B28
monochromatic
#240E39 #431B6A #62279B #8133CC #9F64D8

Accessibility & contrast

On white

9.20
#62279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62279B
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62279B#FFFFFF#000000##FFFFFF
##62279B1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#004799
Tritanopia (blue-blind)
#56445F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #62279b;
/* rgb */ color: rgb(98, 39, 155);
/* oklch */ color: oklch(42.2% 0.177 302.5);
Tailwind
colors: {
  custom: {
    50: '#9467b9',
    500: '#62279b',
    950: '#000000',
  },
}
SCSS
$custom: #62279b;
$custom-light: #9467b9;
$custom-dark: #000000;
JSON
{
  "hex": "#62279b",
  "rgb": {
    "r": 98,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 270.517,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42201,
    "c": 0.17702,
    "h": 302.5
  },
  "luminance": 0.06414
}

Semantic roles & 50–950 ramp

primary
#62279B
secondary
#8EBE60
accent
#E34593
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #62279B

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

Preview Lab → · Contrast checker → · Palette generator →

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