#6229A2#6229A2

#6229A2 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.182 H 300.2°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#6229A2
RGBrgb(98, 41, 162)
HSLhsl(268, 60%, 40%)
HSVhsv(268, 75%, 64%)
CMYKcmyk(39.5%, 74.7%, 0%, 36.5%)
CIE-LABlab(31.33, 49.25, -55.19)
CIE-LCHlch(31.33, 73.97, 311.75°)
OKLaboklab(43.01% 0.0916 -0.1576)
OKLCHoklch(43.01% 0.182 300.2)
XYZxyz(12.3499, 6.7911, 34.8356)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6229A2 #69A229
analogous
#292DA2 #6229A2 #9E29A2
triadic
#6229A2 #A26229 #29A262
tetradic
#6229A2 #A2292D #69A229 #29A29E
square
#6229A2 #A2292D #69A229 #29A29E
split-complementary
#6229A2 #A29E29 #2DA229
monochromatic
#271040 #441D71 #6229A2 #803BCD #A06CDA

Accessibility & contrast

On white

8.91
#6229A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6229A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6229A2
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6229A2#FFFFFF#000000##FFFFFF
##6229A21.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#534863
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6229a2;
/* rgb */ color: rgb(98, 41, 162);
/* oklch */ color: oklch(43.0% 0.182 300.2);
Tailwind
colors: {
  custom: {
    50: '#9568be',
    500: '#6229a2',
    950: '#000000',
  },
}
SCSS
$custom: #6229a2;
$custom-light: #9568be;
$custom-dark: #000000;
JSON
{
  "hex": "#6229a2",
  "rgb": {
    "r": 98,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 268.264,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43009,
    "c": 0.18227,
    "h": 300.2
  },
  "luminance": 0.06791
}

Semantic roles & 50–950 ramp

primary
#6229A2
secondary
#96C067
accent
#E34598
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6229A2

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

Preview Lab → · Contrast checker → · Palette generator →

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