#6334BC#6334BC

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

Color values

HEX#6334BC
RGBrgb(99, 52, 188)
HSLhsl(261, 57%, 47%)
HSVhsv(261, 72%, 74%)
CMYKcmyk(47.3%, 72.3%, 0%, 26.3%)
CIE-LABlab(35.48, 50.98, -63.93)
CIE-LCHlch(35.48, 81.77, 308.57°)
OKLaboklab(46.64% 0.0771 -0.1833)
OKLCHoklch(46.64% 0.199 292.8)
XYZxyz(15.4482, 8.7390, 48.4400)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6334BC #8DBC34
analogous
#3449BC #6334BC #A734BC
triadic
#6334BC #BC6334 #34BC63
tetradic
#6334BC #BC3449 #8DBC34 #34BCA7
square
#6334BC #BC3449 #8DBC34 #34BCA7
split-complementary
#6334BC #BCA734 #49BC34
monochromatic
#31195C #4A278C #6334BC #845BD2 #A88BDF

Accessibility & contrast

On white

7.64
#6334BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6334BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6334BC
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6334BC#FFFFFF#000000##FFFFFF
##6334BC1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C0
Deuteranopia (green-blind)
#0051B9
Tritanopia (blue-blind)
#485775
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6334bc;
/* rgb */ color: rgb(99, 52, 188);
/* oklch */ color: oklch(46.6% 0.199 292.8);
Tailwind
colors: {
  custom: {
    50: '#9870d1',
    500: '#6334bc',
    950: '#000000',
  },
}
SCSS
$custom: #6334bc;
$custom-light: #9870d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6334bc",
  "rgb": {
    "r": 99,
    "g": 52,
    "b": 188
  },
  "hsl": {
    "h": 260.735,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46644,
    "c": 0.19884,
    "h": 292.8
  },
  "luminance": 0.08739
}

Semantic roles & 50–950 ramp

primary
#6334BC
secondary
#B1C983
accent
#E048AB
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6334BC

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

Preview Lab → · Contrast checker → · Palette generator →

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