#6229A9#6229A9

#6229A9 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.190 H 298.3°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#6229A9
RGBrgb(98, 41, 169)
HSLhsl(267, 61%, 41%)
HSVhsv(267, 76%, 66%)
CMYKcmyk(42%, 75.7%, 0%, 33.7%)
CIE-LABlab(31.91, 51.02, -58.45)
CIE-LCHlch(31.91, 77.59, 311.12°)
OKLaboklab(43.61% 0.0899 -0.1672)
OKLCHoklch(43.61% 0.19 298.3)
XYZxyz(12.9895, 7.0469, 38.2042)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6229A9 #70A929
analogous
#2930A9 #6229A9 #A229A9
triadic
#6229A9 #A96229 #29A962
tetradic
#6229A9 #A92930 #70A929 #29A9A2
square
#6229A9 #A92930 #70A929 #29A9A2
split-complementary
#6229A9 #A9A229 #30A929
monochromatic
#291146 #451D78 #6229A9 #803FD0 #A070DC

Accessibility & contrast

On white

8.72
#6229A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6229A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6229A9#FFFFFF#000000##FFFFFF
##6229A91.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6229a9;
/* rgb */ color: rgb(98, 41, 169);
/* oklch */ color: oklch(43.6% 0.190 298.3);
Tailwind
colors: {
  custom: {
    50: '#9569c4',
    500: '#6229a9',
    950: '#000000',
  },
}
SCSS
$custom: #6229a9;
$custom-light: #9569c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6229a9",
  "rgb": {
    "r": 98,
    "g": 41,
    "b": 169
  },
  "hsl": {
    "h": 266.719,
    "s": 60.952,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43605,
    "c": 0.18982,
    "h": 298.3
  },
  "luminance": 0.07047
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6229A9

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

Preview Lab → · Contrast checker → · Palette generator →

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