#6334C6#6334C6

#6334C6 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.5% C 0.210 H 290.9°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#6334C6
RGBrgb(99, 52, 198)
HSLhsl(259, 58%, 49%)
HSVhsv(259, 74%, 78%)
CMYKcmyk(50%, 73.7%, 0%, 22.4%)
CIE-LABlab(36.34, 53.69, -68.38)
CIE-LCHlch(36.34, 86.94, 308.14°)
OKLaboklab(47.52% 0.0748 -0.1963)
OKLCHoklch(47.52% 0.21 290.9)
XYZxyz(16.5637, 9.1852, 54.3153)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6334C6 #97C634
analogous
#344EC6 #6334C6 #AC34C6
triadic
#6334C6 #C66334 #34C663
tetradic
#6334C6 #C6344E #97C634 #34C6AC
square
#6334C6 #C6344E #97C634 #34C6AC
split-complementary
#6334C6 #C6AC34 #4EC634
monochromatic
#331B65 #4B2796 #6334C6 #8762D6 #AC92E2

Accessibility & contrast

On white

7.40
#6334C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6334C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6334C6
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6334C6#FFFFFF#000000##FFFFFF
##6334C61.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CA
Deuteranopia (green-blind)
#0052C3
Tritanopia (blue-blind)
#415B7A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6334c6;
/* rgb */ color: rgb(99, 52, 198);
/* oklch */ color: oklch(47.5% 0.210 290.9);
Tailwind
colors: {
  custom: {
    50: '#9970d8',
    500: '#6334c6',
    950: '#000000',
  },
}
SCSS
$custom: #6334c6;
$custom-light: #9970d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6334c6",
  "rgb": {
    "r": 99,
    "g": 52,
    "b": 198
  },
  "hsl": {
    "h": 259.315,
    "s": 58.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47517,
    "c": 0.21011,
    "h": 290.9
  },
  "luminance": 0.09186
}

Semantic roles & 50–950 ramp

primary
#6334C6
secondary
#B7CD89
accent
#E246B0
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6334C6

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

Preview Lab → · Contrast checker → · Palette generator →

#6334C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva