#6334BB#6334BB

#6334BB is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.6% C 0.198 H 293.0°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#6334BB
RGBrgb(99, 52, 187)
HSLhsl(261, 56%, 47%)
HSVhsv(261, 72%, 73%)
CMYKcmyk(47.1%, 72.2%, 0%, 26.7%)
CIE-LABlab(35.39, 50.71, -63.47)
CIE-LCHlch(35.39, 81.25, 308.62°)
OKLaboklab(46.56% 0.0773 -0.1819)
OKLCHoklch(46.56% 0.198 293)
XYZxyz(15.3407, 8.6960, 47.8743)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6334BB #8CBB34
analogous
#3449BB #6334BB #A734BB
triadic
#6334BB #BB6334 #34BB63
tetradic
#6334BB #BB3449 #8CBB34 #34BBA7
square
#6334BB #BB3449 #8CBB34 #34BBA7
split-complementary
#6334BB #BBA734 #49BB34
monochromatic
#30195B #4A278B #6334BB #845BD1 #A88BDF

Accessibility & contrast

On white

7.67
#6334BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6334BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6334BB
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6334BB#FFFFFF#000000##FFFFFF
##6334BB1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#0051B8
Tritanopia (blue-blind)
#485774
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6334bb;
/* rgb */ color: rgb(99, 52, 187);
/* oklch */ color: oklch(46.6% 0.198 293.0);
Tailwind
colors: {
  custom: {
    50: '#9770d0',
    500: '#6334bb',
    950: '#000000',
  },
}
SCSS
$custom: #6334bb;
$custom-light: #9770d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6334bb",
  "rgb": {
    "r": 99,
    "g": 52,
    "b": 187
  },
  "hsl": {
    "h": 260.889,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46558,
    "c": 0.1977,
    "h": 293
  },
  "luminance": 0.08696
}

Semantic roles & 50–950 ramp

primary
#6334BB
secondary
#B0C982
accent
#E048AB
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6334BB

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

Preview Lab → · Contrast checker → · Palette generator →

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