#6229A6#6229A6

#6229A6 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.187 H 299.1°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#6229A6
RGBrgb(98, 41, 166)
HSLhsl(267, 60%, 41%)
HSVhsv(267, 75%, 65%)
CMYKcmyk(41%, 75.3%, 0%, 34.9%)
CIE-LABlab(31.66, 50.26, -57.06)
CIE-LCHlch(31.66, 76.04, 311.37°)
OKLaboklab(43.35% 0.0906 -0.1631)
OKLCHoklch(43.35% 0.187 299.1)
XYZxyz(12.7111, 6.9356, 36.7380)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6229A6 #6DA629
analogous
#292FA6 #6229A6 #A029A6
triadic
#6229A6 #A66229 #29A662
tetradic
#6229A6 #A6292F #6DA629 #29A6A0
square
#6229A6 #A6292F #6DA629 #29A6A0
split-complementary
#6229A6 #A6A029 #2FA629
monochromatic
#281144 #451D75 #6229A6 #803DCF #A06EDB

Accessibility & contrast

On white

8.80
#6229A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6229A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6229A6#FFFFFF#000000##FFFFFF
##6229A61.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAA
Deuteranopia (green-blind)
#0049A4
Tritanopia (blue-blind)
#524966
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6229a6;
/* rgb */ color: rgb(98, 41, 166);
/* oklch */ color: oklch(43.3% 0.187 299.1);
Tailwind
colors: {
  custom: {
    50: '#9569c1',
    500: '#6229a6',
    950: '#000000',
  },
}
SCSS
$custom: #6229a6;
$custom-light: #9569c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6229a6",
  "rgb": {
    "r": 98,
    "g": 41,
    "b": 166
  },
  "hsl": {
    "h": 267.36,
    "s": 60.386,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43347,
    "c": 0.18659,
    "h": 299.1
  },
  "luminance": 0.06936
}

Semantic roles & 50–950 ramp

primary
#6229A6
secondary
#99C269
accent
#E4449B
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6229A6

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

Preview Lab → · Contrast checker → · Palette generator →

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