#6334BA#6334BA

#6334BA is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.5% C 0.197 H 293.2°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#6334BA
RGBrgb(99, 52, 186)
HSLhsl(261, 56%, 47%)
HSVhsv(261, 72%, 73%)
CMYKcmyk(46.8%, 72%, 0%, 27.1%)
CIE-LABlab(35.31, 50.44, -63.02)
CIE-LCHlch(35.31, 80.72, 308.67°)
OKLaboklab(46.47% 0.0775 -0.1806)
OKLCHoklch(46.47% 0.197 293.2)
XYZxyz(15.2341, 8.6533, 47.3124)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6334BA #8BBA34
analogous
#3448BA #6334BA #A634BA
triadic
#6334BA #BA6334 #34BA63
tetradic
#6334BA #BA3448 #8BBA34 #34BAA6
square
#6334BA #BA3448 #8BBA34 #34BAA6
split-complementary
#6334BA #BAA634 #48BA34
monochromatic
#30195A #4A278A #6334BA #845AD1 #A88ADE

Accessibility & contrast

On white

7.69
#6334BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6334BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6334BA
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6334BA#FFFFFF#000000##FFFFFF
##6334BA1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#0051B7
Tritanopia (blue-blind)
#495774
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6334ba;
/* rgb */ color: rgb(99, 52, 186);
/* oklch */ color: oklch(46.5% 0.197 293.2);
Tailwind
colors: {
  custom: {
    50: '#9770d0',
    500: '#6334ba',
    950: '#000000',
  },
}
SCSS
$custom: #6334ba;
$custom-light: #9770d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6334ba",
  "rgb": {
    "r": 99,
    "g": 52,
    "b": 186
  },
  "hsl": {
    "h": 261.045,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46472,
    "c": 0.19657,
    "h": 293.2
  },
  "luminance": 0.08654
}

Semantic roles & 50–950 ramp

primary
#6334BA
secondary
#B0C881
accent
#E048AA
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6334BA

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

Preview Lab → · Contrast checker → · Palette generator →

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