#6229B3#6229B3

#6229B3 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.5% C 0.201 H 295.8°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#6229B3
RGBrgb(98, 41, 179)
HSLhsl(265, 63%, 43%)
HSVhsv(265, 77%, 70%)
CMYKcmyk(45.3%, 77.1%, 0%, 29.8%)
CIE-LABlab(32.78, 53.57, -63.01)
CIE-LCHlch(32.78, 82.71, 310.37°)
OKLaboklab(44.48% 0.0873 -0.1806)
OKLCHoklch(44.48% 0.201 295.8)
XYZxyz(13.9644, 7.4369, 43.3388)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6229B3 #7AB329
analogous
#2935B3 #6229B3 #A729B3
triadic
#6229B3 #B36229 #29B362
tetradic
#6229B3 #B32935 #7AB329 #29B3A7
square
#6229B3 #B32935 #7AB329 #29B3A7
split-complementary
#6229B3 #B3A729 #35B329
monochromatic
#2B124F #471E81 #6229B3 #8045D4 #A277E0

Accessibility & contrast

On white

8.44
#6229B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6229B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6229B3
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6229B3#FFFFFF#000000##FFFFFF
##6229B31.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#4B4F6D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6229b3;
/* rgb */ color: rgb(98, 41, 179);
/* oklch */ color: oklch(44.5% 0.201 295.8);
Tailwind
colors: {
  custom: {
    50: '#9669cb',
    500: '#6229b3',
    950: '#000000',
  },
}
SCSS
$custom: #6229b3;
$custom-light: #9669cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6229b3",
  "rgb": {
    "r": 98,
    "g": 41,
    "b": 179
  },
  "hsl": {
    "h": 264.783,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44481,
    "c": 0.20054,
    "h": 295.8
  },
  "luminance": 0.07437
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6229B3

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

Preview Lab → · Contrast checker → · Palette generator →

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