#62279C#62279C

#62279C is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.178 H 302.2°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#62279C
RGBrgb(98, 39, 156)
HSLhsl(270, 60%, 38%)
HSVhsv(270, 75%, 61%)
CMYKcmyk(37.2%, 75%, 0%, 38.8%)
CIE-LABlab(30.52, 48.66, -52.87)
CIE-LCHlch(30.52, 71.86, 312.63°)
OKLaboklab(42.28% 0.0948 -0.1508)
OKLCHoklch(42.28% 0.178 302.2)
XYZxyz(11.7618, 6.4480, 32.0710)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62279C #619C27
analogous
#27279C #62279C #9C279B
triadic
#62279C #9C6227 #279C62
tetradic
#62279C #9C2727 #619C27 #279B9C
square
#62279C #9C2727 #619C27 #279B9C
split-complementary
#62279C #9B9C27 #279C27
monochromatic
#240F3A #431B6B #62279C #8134CC #9F65D8

Accessibility & contrast

On white

9.17
#62279C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#62279C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62279C
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62279C#FFFFFF#000000##FFFFFF
##62279C1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #62279c;
/* rgb */ color: rgb(98, 39, 156);
/* oklch */ color: oklch(42.3% 0.178 302.2);
Tailwind
colors: {
  custom: {
    50: '#9467ba',
    500: '#62279c',
    950: '#000000',
  },
}
SCSS
$custom: #62279c;
$custom-light: #9467ba;
$custom-dark: #000000;
JSON
{
  "hex": "#62279c",
  "rgb": {
    "r": 98,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 270.256,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42284,
    "c": 0.17808,
    "h": 302.2
  },
  "luminance": 0.06448
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #62279C

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

Preview Lab → · Contrast checker → · Palette generator →

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