#6229B6#6229B6

#6229B6 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.7% C 0.204 H 295.1°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#6229B6
RGBrgb(98, 41, 182)
HSLhsl(264, 63%, 44%)
HSVhsv(264, 77%, 71%)
CMYKcmyk(46.2%, 77.5%, 0%, 28.6%)
CIE-LABlab(33.05, 54.34, -64.36)
CIE-LCHlch(33.05, 84.23, 310.17°)
OKLaboklab(44.75% 0.0864 -0.1845)
OKLCHoklch(44.75% 0.204 295.1)
XYZxyz(14.2712, 7.5596, 44.9541)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6229B6 #7DB629
analogous
#2936B6 #6229B6 #A829B6
triadic
#6229B6 #B66229 #29B662
tetradic
#6229B6 #B62936 #7DB629 #29B6A8
square
#6229B6 #B62936 #7DB629 #29B6A8
split-complementary
#6229B6 #B6A829 #36B629
monochromatic
#2C1252 #471E84 #6229B6 #8047D5 #A379E1

Accessibility & contrast

On white

8.36
#6229B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6229B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6229B6
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6229B6#FFFFFF#000000##FFFFFF
##6229B61.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBA
Deuteranopia (green-blind)
#004BB3
Tritanopia (blue-blind)
#4A506F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6229b6;
/* rgb */ color: rgb(98, 41, 182);
/* oklch */ color: oklch(44.7% 0.204 295.1);
Tailwind
colors: {
  custom: {
    50: '#9769cd',
    500: '#6229b6',
    950: '#000000',
  },
}
SCSS
$custom: #6229b6;
$custom-light: #9769cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6229b6",
  "rgb": {
    "r": 98,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 264.255,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44749,
    "c": 0.20375,
    "h": 295.1
  },
  "luminance": 0.0756
}

Semantic roles & 50–950 ramp

primary
#6229B6
secondary
#A6C972
accent
#E642A4
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #6229B6

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

Preview Lab → · Contrast checker → · Palette generator →

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