#6229A4#6229A4

#6229A4 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.2% C 0.184 H 299.6°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#6229A4
RGBrgb(98, 41, 164)
HSLhsl(268, 60%, 40%)
HSVhsv(268, 75%, 64%)
CMYKcmyk(40.2%, 75%, 0%, 35.7%)
CIE-LABlab(31.49, 49.76, -56.13)
CIE-LCHlch(31.49, 75.01, 311.56°)
OKLaboklab(43.18% 0.0911 -0.1603)
OKLCHoklch(43.18% 0.184 299.6)
XYZxyz(12.5291, 6.8627, 35.7793)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6229A4 #6BA429
analogous
#292DA4 #6229A4 #9F29A4
triadic
#6229A4 #A46229 #29A462
tetradic
#6229A4 #A4292D #6BA429 #29A49F
square
#6229A4 #A4292D #6BA429 #29A49F
split-complementary
#6229A4 #A49F29 #2DA429
monochromatic
#271142 #451D73 #6229A4 #803CCE #A06DDA

Accessibility & contrast

On white

8.85
#6229A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6229A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6229A4#FFFFFF#000000##FFFFFF
##6229A41.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA8
Deuteranopia (green-blind)
#0049A2
Tritanopia (blue-blind)
#524964
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6229a4;
/* rgb */ color: rgb(98, 41, 164);
/* oklch */ color: oklch(43.2% 0.184 299.6);
Tailwind
colors: {
  custom: {
    50: '#9569c0',
    500: '#6229a4',
    950: '#000000',
  },
}
SCSS
$custom: #6229a4;
$custom-light: #9569c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6229a4",
  "rgb": {
    "r": 98,
    "g": 41,
    "b": 164
  },
  "hsl": {
    "h": 267.805,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43178,
    "c": 0.18442,
    "h": 299.6
  },
  "luminance": 0.06863
}

Semantic roles & 50–950 ramp

primary
#6229A4
secondary
#98C168
accent
#E3459A
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6229A4

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

Preview Lab → · Contrast checker → · Palette generator →

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