#6229AC#6229AC

#6229AC is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.9% C 0.193 H 297.5°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#6229AC
RGBrgb(98, 41, 172)
HSLhsl(266, 62%, 42%)
HSVhsv(266, 76%, 67%)
CMYKcmyk(43%, 76.2%, 0%, 32.5%)
CIE-LABlab(32.17, 51.78, -59.83)
CIE-LCHlch(32.17, 79.13, 310.88°)
OKLaboklab(43.86% 0.0891 -0.1712)
OKLCHoklch(43.86% 0.193 297.5)
XYZxyz(13.2744, 7.1609, 39.7045)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6229AC #73AC29
analogous
#2932AC #6229AC #A429AC
triadic
#6229AC #AC6229 #29AC62
tetradic
#6229AC #AC2932 #73AC29 #29ACA4
square
#6229AC #AC2932 #73AC29 #29ACA4
split-complementary
#6229AC #ACA429 #32AC29
monochromatic
#2A1149 #461D7B #6229AC #8041D2 #A172DD

Accessibility & contrast

On white

8.63
#6229AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6229AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6229AC#FFFFFF#000000##FFFFFF
##6229AC1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#4F4C69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6229ac;
/* rgb */ color: rgb(98, 41, 172);
/* oklch */ color: oklch(43.9% 0.193 297.5);
Tailwind
colors: {
  custom: {
    50: '#9669c6',
    500: '#6229ac',
    950: '#000000',
  },
}
SCSS
$custom: #6229ac;
$custom-light: #9669c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6229ac",
  "rgb": {
    "r": 98,
    "g": 41,
    "b": 172
  },
  "hsl": {
    "h": 266.107,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43864,
    "c": 0.19304,
    "h": 297.5
  },
  "luminance": 0.07161
}

Semantic roles & 50–950 ramp

primary
#6229AC
secondary
#9EC56C
accent
#E5439E
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6229AC

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

Preview Lab → · Contrast checker → · Palette generator →

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