#62269D#62269D

#62269D is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.180 H 302.0°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#62269D
RGBrgb(98, 38, 157)
HSLhsl(270, 61%, 38%)
HSVhsv(270, 76%, 62%)
CMYKcmyk(37.6%, 75.8%, 0%, 38.4%)
CIE-LABlab(30.44, 49.35, -53.60)
CIE-LCHlch(30.44, 72.86, 312.64°)
OKLaboklab(42.26% 0.0955 -0.1529)
OKLCHoklch(42.26% 0.18 302)
XYZxyz(11.8145, 6.4172, 32.5080)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62269D #619D26
analogous
#26269D #62269D #9D269C
triadic
#62269D #9D6226 #269D62
tetradic
#62269D #9D2626 #619D26 #269C9D
square
#62269D #9D2626 #619D26 #269C9D
split-complementary
#62269D #9C9D26 #269D26
monochromatic
#240E3A #431A6C #62269D #8133CE #9F64D9

Accessibility & contrast

On white

9.20
#62269D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62269D
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62269D#FFFFFF#000000##FFFFFF
##62269D1.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)
#0047A0
Deuteranopia (green-blind)
#00479B
Tritanopia (blue-blind)
#554460
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #62269d;
/* rgb */ color: rgb(98, 38, 157);
/* oklch */ color: oklch(42.3% 0.180 302.0);
Tailwind
colors: {
  custom: {
    50: '#9467bb',
    500: '#62269d',
    950: '#000000',
  },
}
SCSS
$custom: #62269d;
$custom-light: #9467bb;
$custom-dark: #000000;
JSON
{
  "hex": "#62269d",
  "rgb": {
    "r": 98,
    "g": 38,
    "b": 157
  },
  "hsl": {
    "h": 270.252,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42257,
    "c": 0.18028,
    "h": 302
  },
  "luminance": 0.06417
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #62269D

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

Preview Lab → · Contrast checker → · Palette generator →

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