#6229B2#6229B2

#6229B2 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.4% C 0.199 H 296.0°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#6229B2
RGBrgb(98, 41, 178)
HSLhsl(265, 63%, 43%)
HSVhsv(265, 77%, 70%)
CMYKcmyk(44.9%, 77%, 0%, 30.2%)
CIE-LABlab(32.69, 53.31, -62.56)
CIE-LCHlch(32.69, 82.20, 310.44°)
OKLaboklab(44.39% 0.0875 -0.1792)
OKLCHoklch(44.39% 0.199 296)
XYZxyz(13.8637, 7.3966, 42.8081)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6229B2 #79B229
analogous
#2934B2 #6229B2 #A729B2
triadic
#6229B2 #B26229 #29B262
tetradic
#6229B2 #B22934 #79B229 #29B2A7
square
#6229B2 #B22934 #79B229 #29B2A7
split-complementary
#6229B2 #B2A729 #34B229
monochromatic
#2B124F #471E80 #6229B2 #8044D4 #A276DF

Accessibility & contrast

On white

8.47
#6229B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6229B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6229B2
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6229B2#FFFFFF#000000##FFFFFF
##6229B21.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6229b2;
/* rgb */ color: rgb(98, 41, 178);
/* oklch */ color: oklch(44.4% 0.199 296.0);
Tailwind
colors: {
  custom: {
    50: '#9669ca',
    500: '#6229b2',
    950: '#000000',
  },
}
SCSS
$custom: #6229b2;
$custom-light: #9669ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6229b2",
  "rgb": {
    "r": 98,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 264.964,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44392,
    "c": 0.19947,
    "h": 296
  },
  "luminance": 0.07397
}

Semantic roles & 50–950 ramp

primary
#6229B2
secondary
#A3C770
accent
#E642A2
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6229B2

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

Preview Lab → · Contrast checker → · Palette generator →

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