#6229AA#6229AA

#6229AA is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.7% C 0.191 H 298.0°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#6229AA
RGBrgb(98, 41, 170)
HSLhsl(267, 61%, 41%)
HSVhsv(267, 76%, 67%)
CMYKcmyk(42.4%, 75.9%, 0%, 33.3%)
CIE-LABlab(32.00, 51.28, -58.92)
CIE-LCHlch(32.00, 78.10, 311.03°)
OKLaboklab(43.69% 0.0896 -0.1685)
OKLCHoklch(43.69% 0.191 298)
XYZxyz(13.0838, 7.0846, 38.7006)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6229AA #71AA29
analogous
#2931AA #6229AA #A329AA
triadic
#6229AA #AA6229 #29AA62
tetradic
#6229AA #AA2931 #71AA29 #29AAA3
square
#6229AA #AA2931 #71AA29 #29AAA3
split-complementary
#6229AA #AAA329 #31AA29
monochromatic
#291147 #461D79 #6229AA #803FD1 #A071DD

Accessibility & contrast

On white

8.69
#6229AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6229AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6229AA#FFFFFF#000000##FFFFFF
##6229AA1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#004AA7
Tritanopia (blue-blind)
#504B68
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6229aa;
/* rgb */ color: rgb(98, 41, 170);
/* oklch */ color: oklch(43.7% 0.191 298.0);
Tailwind
colors: {
  custom: {
    50: '#9569c4',
    500: '#6229aa',
    950: '#000000',
  },
}
SCSS
$custom: #6229aa;
$custom-light: #9569c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6229aa",
  "rgb": {
    "r": 98,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 266.512,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43691,
    "c": 0.19089,
    "h": 298
  },
  "luminance": 0.07085
}

Semantic roles & 50–950 ramp

primary
#6229AA
secondary
#9DC46B
accent
#E4449D
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6229AA

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

Preview Lab → · Contrast checker → · Palette generator →

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