#6334B5#6334B5

#6334B5 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.0% C 0.191 H 294.3°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#6334B5
RGBrgb(99, 52, 181)
HSLhsl(262, 55%, 46%)
HSVhsv(262, 71%, 71%)
CMYKcmyk(45.3%, 71.3%, 0%, 29%)
CIE-LABlab(34.89, 49.10, -60.75)
CIE-LCHlch(34.89, 78.11, 308.95°)
OKLaboklab(46.05% 0.0786 -0.1739)
OKLCHoklch(46.05% 0.191 294.3)
XYZxyz(14.7118, 8.4444, 44.5619)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6334B5 #86B534
analogous
#3446B5 #6334B5 #A334B5
triadic
#6334B5 #B56334 #34B563
tetradic
#6334B5 #B53446 #86B534 #34B5A3
square
#6334B5 #B53446 #86B534 #34B5A3
split-complementary
#6334B5 #B5A334 #46B534
monochromatic
#2F1956 #492685 #6334B5 #8357CF #A687DC

Accessibility & contrast

On white

7.81
#6334B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6334B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6334B5
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6334B5#FFFFFF#000000##FFFFFF
##6334B51.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0050B2
Tritanopia (blue-blind)
#4C5571
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6334b5;
/* rgb */ color: rgb(99, 52, 181);
/* oklch */ color: oklch(46.0% 0.191 294.3);
Tailwind
colors: {
  custom: {
    50: '#976fcc',
    500: '#6334b5',
    950: '#000000',
  },
}
SCSS
$custom: #6334b5;
$custom-light: #976fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#6334b5",
  "rgb": {
    "r": 99,
    "g": 52,
    "b": 181
  },
  "hsl": {
    "h": 261.86,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46048,
    "c": 0.19086,
    "h": 294.3
  },
  "luminance": 0.08445
}

Semantic roles & 50–950 ramp

primary
#6334B5
secondary
#ACC67F
accent
#DF49A8
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6334B5

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

Preview Lab → · Contrast checker → · Palette generator →

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