#6229AD#6229AD

#6229AD is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.0% C 0.194 H 297.3°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#6229AD
RGBrgb(98, 41, 173)
HSLhsl(266, 62%, 42%)
HSVhsv(266, 76%, 68%)
CMYKcmyk(43.4%, 76.3%, 0%, 32.2%)
CIE-LABlab(32.26, 52.04, -60.29)
CIE-LCHlch(32.26, 79.64, 310.80°)
OKLaboklab(43.95% 0.0889 -0.1726)
OKLCHoklch(43.95% 0.194 297.3)
XYZxyz(13.3708, 7.1994, 40.2122)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6229AD #74AD29
analogous
#2932AD #6229AD #A429AD
triadic
#6229AD #AD6229 #29AD62
tetradic
#6229AD #AD2932 #74AD29 #29ADA4
square
#6229AD #AD2932 #74AD29 #29ADA4
split-complementary
#6229AD #ADA429 #32AD29
monochromatic
#2A124A #461D7C #6229AD #8041D2 #A173DE

Accessibility & contrast

On white

8.61
#6229AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6229AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6229AD
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6229AD#FFFFFF#000000##FFFFFF
##6229AD1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB1
Deuteranopia (green-blind)
#004AAA
Tritanopia (blue-blind)
#4E4C6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6229ad;
/* rgb */ color: rgb(98, 41, 173);
/* oklch */ color: oklch(44.0% 0.194 297.3);
Tailwind
colors: {
  custom: {
    50: '#9669c6',
    500: '#6229ad',
    950: '#000000',
  },
}
SCSS
$custom: #6229ad;
$custom-light: #9669c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6229ad",
  "rgb": {
    "r": 98,
    "g": 41,
    "b": 173
  },
  "hsl": {
    "h": 265.909,
    "s": 61.682,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43951,
    "c": 0.19411,
    "h": 297.3
  },
  "luminance": 0.072
}

Semantic roles & 50–950 ramp

primary
#6229AD
secondary
#9FC56D
accent
#E5439F
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6229AD

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

Preview Lab → · Contrast checker → · Palette generator →

#6229AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva