#6334B6#6334B6

#6334B6 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.1% C 0.192 H 294.1°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#6334B6
RGBrgb(99, 52, 182)
HSLhsl(262, 56%, 46%)
HSVhsv(262, 71%, 71%)
CMYKcmyk(45.6%, 71.4%, 0%, 28.6%)
CIE-LABlab(34.97, 49.37, -61.20)
CIE-LCHlch(34.97, 78.63, 308.89°)
OKLaboklab(46.13% 0.0784 -0.1753)
OKLCHoklch(46.13% 0.192 294.1)
XYZxyz(14.8148, 8.4856, 45.1042)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6334B6 #87B634
analogous
#3446B6 #6334B6 #A434B6
triadic
#6334B6 #B66334 #34B663
tetradic
#6334B6 #B63446 #87B634 #34B6A4
square
#6334B6 #B63446 #87B634 #34B6A4
split-complementary
#6334B6 #B6A434 #46B634
monochromatic
#2F1957 #492686 #6334B6 #8358CF #A688DD

Accessibility & contrast

On white

7.79
#6334B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6334B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6334B6
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6334B6#FFFFFF#000000##FFFFFF
##6334B61.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0050B3
Tritanopia (blue-blind)
#4B5571
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6334b6;
/* rgb */ color: rgb(99, 52, 182);
/* oklch */ color: oklch(46.1% 0.192 294.1);
Tailwind
colors: {
  custom: {
    50: '#976fcd',
    500: '#6334b6',
    950: '#000000',
  },
}
SCSS
$custom: #6334b6;
$custom-light: #976fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#6334b6",
  "rgb": {
    "r": 99,
    "g": 52,
    "b": 182
  },
  "hsl": {
    "h": 261.692,
    "s": 55.556,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46132,
    "c": 0.19201,
    "h": 294.1
  },
  "luminance": 0.08486
}

Semantic roles & 50–950 ramp

primary
#6334B6
secondary
#ADC77F
accent
#DF49A9
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6334B6

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

Preview Lab → · Contrast checker → · Palette generator →

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