#6229A8#6229A8

#6229A8 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.5% C 0.189 H 298.5°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#6229A8
RGBrgb(98, 41, 168)
HSLhsl(267, 61%, 41%)
HSVhsv(267, 76%, 66%)
CMYKcmyk(41.7%, 75.6%, 0%, 34.1%)
CIE-LABlab(31.83, 50.77, -57.99)
CIE-LCHlch(31.83, 77.07, 311.20°)
OKLaboklab(43.52% 0.0901 -0.1658)
OKLCHoklch(43.52% 0.189 298.5)
XYZxyz(12.8960, 7.0095, 37.7117)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6229A8 #6FA829
analogous
#292FA8 #6229A8 #A129A8
triadic
#6229A8 #A86229 #29A862
tetradic
#6229A8 #A8292F #6FA829 #29A8A1
square
#6229A8 #A8292F #6FA829 #29A8A1
split-complementary
#6229A8 #A8A129 #2FA829
monochromatic
#291146 #451D77 #6229A8 #803ED0 #A06FDC

Accessibility & contrast

On white

8.74
#6229A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6229A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6229A8#FFFFFF#000000##FFFFFF
##6229A81.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#004AA6
Tritanopia (blue-blind)
#514A67
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6229a8;
/* rgb */ color: rgb(98, 41, 168);
/* oklch */ color: oklch(43.5% 0.189 298.5);
Tailwind
colors: {
  custom: {
    50: '#9569c3',
    500: '#6229a8',
    950: '#000000',
  },
}
SCSS
$custom: #6229a8;
$custom-light: #9569c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6229a8",
  "rgb": {
    "r": 98,
    "g": 41,
    "b": 168
  },
  "hsl": {
    "h": 266.929,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43519,
    "c": 0.18874,
    "h": 298.5
  },
  "luminance": 0.0701
}

Semantic roles & 50–950 ramp

primary
#6229A8
secondary
#9BC36A
accent
#E4449C
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6229A8

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

Preview Lab → · Contrast checker → · Palette generator →

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