#62269C#62269C

#62269C is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.179 H 302.3°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#62269C
RGBrgb(98, 38, 156)
HSLhsl(271, 61%, 38%)
HSVhsv(271, 76%, 61%)
CMYKcmyk(37.2%, 75.6%, 0%, 38.8%)
CIE-LABlab(30.36, 49.11, -53.13)
CIE-LCHlch(30.36, 72.35, 312.75°)
OKLaboklab(42.17% 0.0957 -0.1515)
OKLCHoklch(42.17% 0.179 302.3)
XYZxyz(11.7294, 6.3832, 32.0602)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62269C #609C26
analogous
#27269C #62269C #9C269B
triadic
#62269C #9C6226 #269C62
tetradic
#62269C #9C2726 #609C26 #269B9C
square
#62269C #9C2726 #609C26 #269B9C
split-complementary
#62269C #9B9C26 #269C27
monochromatic
#240E3A #431A6B #62269C #8132CD #9F63D9

Accessibility & contrast

On white

9.22
#62269C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#62269C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62269C
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62269C#FFFFFF#000000##FFFFFF
##62269C1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #62269c;
/* rgb */ color: rgb(98, 38, 156);
/* oklch */ color: oklch(42.2% 0.179 302.3);
Tailwind
colors: {
  custom: {
    50: '#9467ba',
    500: '#62269c',
    950: '#000000',
  },
}
SCSS
$custom: #62269c;
$custom-light: #9467ba;
$custom-dark: #000000;
JSON
{
  "hex": "#62269c",
  "rgb": {
    "r": 98,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 270.508,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42174,
    "c": 0.17922,
    "h": 302.3
  },
  "luminance": 0.06383
}

Semantic roles & 50–950 ramp

primary
#62269C
secondary
#8EBF5F
accent
#E44493
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #62269C

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

Preview Lab → · Contrast checker → · Palette generator →

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