#6334B3#6334B3

#6334B3 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.9% C 0.189 H 294.8°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#6334B3
RGBrgb(99, 52, 179)
HSLhsl(262, 55%, 45%)
HSVhsv(262, 71%, 70%)
CMYKcmyk(44.7%, 70.9%, 0%, 29.8%)
CIE-LABlab(34.73, 48.56, -59.83)
CIE-LCHlch(34.73, 77.06, 309.07°)
OKLaboklab(45.88% 0.079 -0.1712)
OKLCHoklch(45.88% 0.189 294.8)
XYZxyz(14.5081, 8.3629, 43.4889)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6334B3 #84B334
analogous
#3444B3 #6334B3 #A234B3
triadic
#6334B3 #B36334 #34B363
tetradic
#6334B3 #B33444 #84B334 #34B3A2
square
#6334B3 #B33444 #84B334 #34B3A2
split-complementary
#6334B3 #B3A234 #44B334
monochromatic
#2F1854 #492684 #6334B3 #8356CE #A686DC

Accessibility & contrast

On white

7.86
#6334B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6334B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6334B3
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6334B3#FFFFFF#000000##FFFFFF
##6334B31.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#4D5470
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6334b3;
/* rgb */ color: rgb(99, 52, 179);
/* oklch */ color: oklch(45.9% 0.189 294.8);
Tailwind
colors: {
  custom: {
    50: '#966fcb',
    500: '#6334b3',
    950: '#000000',
  },
}
SCSS
$custom: #6334b3;
$custom-light: #966fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6334b3",
  "rgb": {
    "r": 99,
    "g": 52,
    "b": 179
  },
  "hsl": {
    "h": 262.205,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4588,
    "c": 0.18856,
    "h": 294.8
  },
  "luminance": 0.08363
}

Semantic roles & 50–950 ramp

primary
#6334B3
secondary
#ABC57D
accent
#DE49A7
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6334B3

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

Preview Lab → · Contrast checker → · Palette generator →

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