#62269B#62269B

#62269B is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.178 H 302.6°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#62269B
RGBrgb(98, 38, 155)
HSLhsl(271, 61%, 38%)
HSVhsv(271, 75%, 61%)
CMYKcmyk(36.8%, 75.5%, 0%, 39.2%)
CIE-LABlab(30.28, 48.86, -52.65)
CIE-LCHlch(30.28, 71.83, 312.86°)
OKLaboklab(42.09% 0.096 -0.1501)
OKLCHoklch(42.09% 0.178 302.6)
XYZxyz(11.6451, 6.3494, 31.6161)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62269B #5F9B26
analogous
#27269B #62269B #9B269A
triadic
#62269B #9B6226 #269B62
tetradic
#62269B #9B2726 #5F9B26 #269A9B
square
#62269B #9B2726 #5F9B26 #269A9B
split-complementary
#62269B #9A9B26 #269B27
monochromatic
#240E39 #431A6A #62269B #8132CC #9F63D9

Accessibility & contrast

On white

9.25
#62269B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#62269B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62269B
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62269B#FFFFFF#000000##FFFFFF
##62269B1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #62269b;
/* rgb */ color: rgb(98, 38, 155);
/* oklch */ color: oklch(42.1% 0.178 302.6);
Tailwind
colors: {
  custom: {
    50: '#9467b9',
    500: '#62269b',
    950: '#000000',
  },
}
SCSS
$custom: #62269b;
$custom-light: #9467b9;
$custom-dark: #000000;
JSON
{
  "hex": "#62269b",
  "rgb": {
    "r": 98,
    "g": 38,
    "b": 155
  },
  "hsl": {
    "h": 270.769,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4209,
    "c": 0.17817,
    "h": 302.6
  },
  "luminance": 0.06349
}

Semantic roles & 50–950 ramp

primary
#62269B
secondary
#8DBE5F
accent
#E44492
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #62269B

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

Preview Lab → · Contrast checker → · Palette generator →

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