#6229B4#6229B4

#6229B4 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.6% C 0.202 H 295.6°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#6229B4
RGBrgb(98, 41, 180)
HSLhsl(265, 63%, 43%)
HSVhsv(265, 77%, 71%)
CMYKcmyk(45.6%, 77.2%, 0%, 29.4%)
CIE-LABlab(32.87, 53.82, -63.46)
CIE-LCHlch(32.87, 83.21, 310.30°)
OKLaboklab(44.57% 0.087 -0.1819)
OKLCHoklch(44.57% 0.202 295.6)
XYZxyz(14.0659, 7.4775, 43.8734)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6229B4 #7BB429
analogous
#2936B4 #6229B4 #A729B4
triadic
#6229B4 #B46229 #29B462
tetradic
#6229B4 #B42936 #7BB429 #29B4A7
square
#6229B4 #B42936 #7BB429 #29B4A7
split-complementary
#6229B4 #B4A729 #36B429
monochromatic
#2C1250 #471E82 #6229B4 #8045D5 #A277E0

Accessibility & contrast

On white

8.41
#6229B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6229B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6229B4
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6229B4#FFFFFF#000000##FFFFFF
##6229B41.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB8
Deuteranopia (green-blind)
#004BB1
Tritanopia (blue-blind)
#4B4F6E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6229b4;
/* rgb */ color: rgb(98, 41, 180);
/* oklch */ color: oklch(44.6% 0.202 295.6);
Tailwind
colors: {
  custom: {
    50: '#9769cc',
    500: '#6229b4',
    950: '#000000',
  },
}
SCSS
$custom: #6229b4;
$custom-light: #9769cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6229b4",
  "rgb": {
    "r": 98,
    "g": 41,
    "b": 180
  },
  "hsl": {
    "h": 264.604,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4457,
    "c": 0.20161,
    "h": 295.6
  },
  "luminance": 0.07478
}

Semantic roles & 50–950 ramp

primary
#6229B4
secondary
#A4C871
accent
#E642A3
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6229B4

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

Preview Lab → · Contrast checker → · Palette generator →

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