#62269A#62269A

#62269A is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.0% C 0.177 H 302.9°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#62269A
RGBrgb(98, 38, 154)
HSLhsl(271, 60%, 38%)
HSVhsv(271, 75%, 60%)
CMYKcmyk(36.4%, 75.3%, 0%, 39.6%)
CIE-LABlab(30.20, 48.62, -52.17)
CIE-LCHlch(30.20, 71.31, 312.98°)
OKLaboklab(42.01% 0.0962 -0.1487)
OKLCHoklch(42.01% 0.177 302.9)
XYZxyz(11.5615, 6.3160, 31.1756)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62269A #5E9A26
analogous
#28269A #62269A #9A2698
triadic
#62269A #9A6226 #269A62
tetradic
#62269A #9A2826 #5E9A26 #26989A
square
#62269A #9A2826 #5E9A26 #26989A
split-complementary
#62269A #989A26 #269A28
monochromatic
#240E38 #431A69 #62269A #8132CB #9F62D8

Accessibility & contrast

On white

9.28
#62269A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#62269A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62269A
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62269A#FFFFFF#000000##FFFFFF
##62269A1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #62269a;
/* rgb */ color: rgb(98, 38, 154);
/* oklch */ color: oklch(42.0% 0.177 302.9);
Tailwind
colors: {
  custom: {
    50: '#9467b9',
    500: '#62269a',
    950: '#000000',
  },
}
SCSS
$custom: #62269a;
$custom-light: #9467b9;
$custom-dark: #000000;
JSON
{
  "hex": "#62269a",
  "rgb": {
    "r": 98,
    "g": 38,
    "b": 154
  },
  "hsl": {
    "h": 271.034,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42008,
    "c": 0.1771,
    "h": 302.9
  },
  "luminance": 0.06316
}

Semantic roles & 50–950 ramp

primary
#62269A
secondary
#8CBE5E
accent
#E44491
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #62269A

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

Preview Lab → · Contrast checker → · Palette generator →

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