#6229B1#6229B1

#6229B1 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.3% C 0.198 H 296.3°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#6229B1
RGBrgb(98, 41, 177)
HSLhsl(265, 62%, 43%)
HSVhsv(265, 77%, 69%)
CMYKcmyk(44.6%, 76.8%, 0%, 30.6%)
CIE-LABlab(32.61, 53.06, -62.11)
CIE-LCHlch(32.61, 81.69, 310.51°)
OKLaboklab(44.3% 0.0878 -0.1779)
OKLCHoklch(44.3% 0.198 296.3)
XYZxyz(13.7636, 7.3566, 42.2812)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6229B1 #78B129
analogous
#2934B1 #6229B1 #A629B1
triadic
#6229B1 #B16229 #29B162
tetradic
#6229B1 #B12934 #78B129 #29B1A6
square
#6229B1 #B12934 #78B129 #29B1A6
split-complementary
#6229B1 #B1A629 #34B129
monochromatic
#2B124E #461D7F #6229B1 #8044D4 #A275DF

Accessibility & contrast

On white

8.50
#6229B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6229B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6229B1
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6229B1#FFFFFF#000000##FFFFFF
##6229B11.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#004BAE
Tritanopia (blue-blind)
#4C4E6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6229b1;
/* rgb */ color: rgb(98, 41, 177);
/* oklch */ color: oklch(44.3% 0.198 296.3);
Tailwind
colors: {
  custom: {
    50: '#9669c9',
    500: '#6229b1',
    950: '#000000',
  },
}
SCSS
$custom: #6229b1;
$custom-light: #9669c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6229b1",
  "rgb": {
    "r": 98,
    "g": 41,
    "b": 177
  },
  "hsl": {
    "h": 265.147,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44303,
    "c": 0.1984,
    "h": 296.3
  },
  "luminance": 0.07357
}

Semantic roles & 50–950 ramp

primary
#6229B1
secondary
#A2C76F
accent
#E542A1
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6229B1

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

Preview Lab → · Contrast checker → · Palette generator →

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