#6334B8#6334B8

#6334B8 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.3% C 0.194 H 293.7°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#6334B8
RGBrgb(99, 52, 184)
HSLhsl(261, 56%, 46%)
HSVhsv(261, 72%, 72%)
CMYKcmyk(46.2%, 71.7%, 0%, 27.8%)
CIE-LABlab(35.14, 49.91, -62.11)
CIE-LCHlch(35.14, 79.68, 308.78°)
OKLaboklab(46.3% 0.078 -0.178)
OKLCHoklch(46.3% 0.194 293.7)
XYZxyz(15.0229, 8.5689, 46.2005)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6334B8 #89B834
analogous
#3447B8 #6334B8 #A534B8
triadic
#6334B8 #B86334 #34B863
tetradic
#6334B8 #B83447 #89B834 #34B8A5
square
#6334B8 #B83447 #89B834 #34B8A5
split-complementary
#6334B8 #B8A534 #47B834
monochromatic
#301959 #492788 #6334B8 #8359D0 #A789DE

Accessibility & contrast

On white

7.74
#6334B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6334B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6334B8
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6334B8#FFFFFF#000000##FFFFFF
##6334B81.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0050B5
Tritanopia (blue-blind)
#4A5673
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6334b8;
/* rgb */ color: rgb(99, 52, 184);
/* oklch */ color: oklch(46.3% 0.194 293.7);
Tailwind
colors: {
  custom: {
    50: '#9770ce',
    500: '#6334b8',
    950: '#000000',
  },
}
SCSS
$custom: #6334b8;
$custom-light: #9770ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6334b8",
  "rgb": {
    "r": 99,
    "g": 52,
    "b": 184
  },
  "hsl": {
    "h": 261.364,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46301,
    "c": 0.19428,
    "h": 293.7
  },
  "luminance": 0.08569
}

Semantic roles & 50–950 ramp

primary
#6334B8
secondary
#AEC880
accent
#DF49AA
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6334B8

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

Preview Lab → · Contrast checker → · Palette generator →

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