#6229A5#6229A5

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

Color values

HEX#6229A5
RGBrgb(98, 41, 165)
HSLhsl(268, 60%, 40%)
HSVhsv(268, 75%, 65%)
CMYKcmyk(40.6%, 75.2%, 0%, 35.3%)
CIE-LABlab(31.58, 50.01, -56.60)
CIE-LCHlch(31.58, 75.53, 311.46°)
OKLaboklab(43.26% 0.0909 -0.1617)
OKLCHoklch(43.26% 0.186 299.3)
XYZxyz(12.6198, 6.8990, 36.2568)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6229A5 #6CA529
analogous
#292EA5 #6229A5 #A029A5
triadic
#6229A5 #A56229 #29A562
tetradic
#6229A5 #A5292E #6CA529 #29A5A0
square
#6229A5 #A5292E #6CA529 #29A5A0
split-complementary
#6229A5 #A5A029 #2EA529
monochromatic
#281143 #451D74 #6229A5 #803DCF #A06EDB

Accessibility & contrast

On white

8.82
#6229A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6229A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6229A5
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6229A5#FFFFFF#000000##FFFFFF
##6229A51.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA9
Deuteranopia (green-blind)
#0049A3
Tritanopia (blue-blind)
#524965
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6229a5;
/* rgb */ color: rgb(98, 41, 165);
/* oklch */ color: oklch(43.3% 0.186 299.3);
Tailwind
colors: {
  custom: {
    50: '#9569c1',
    500: '#6229a5',
    950: '#000000',
  },
}
SCSS
$custom: #6229a5;
$custom-light: #9569c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6229a5",
  "rgb": {
    "r": 98,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 267.581,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43262,
    "c": 0.18551,
    "h": 299.3
  },
  "luminance": 0.06899
}

Semantic roles & 50–950 ramp

primary
#6229A5
secondary
#99C268
accent
#E3449A
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6229A5

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

Preview Lab → · Contrast checker → · Palette generator →

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