#6334AD#6334AD

#6334AD is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.4% C 0.182 H 296.1°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#6334AD
RGBrgb(99, 52, 173)
HSLhsl(263, 54%, 44%)
HSVhsv(263, 70%, 68%)
CMYKcmyk(42.8%, 69.9%, 0%, 32.2%)
CIE-LABlab(34.24, 46.95, -57.05)
CIE-LCHlch(34.24, 73.88, 309.46°)
OKLaboklab(45.38% 0.08 -0.1631)
OKLCHoklch(45.38% 0.182 296.1)
XYZxyz(13.9144, 8.1255, 40.3623)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6334AD #7EAD34
analogous
#3441AD #6334AD #A034AD
triadic
#6334AD #AD6334 #34AD63
tetradic
#6334AD #AD3441 #7EAD34 #34ADA0
square
#6334AD #AD3441 #7EAD34 #34ADA0
split-complementary
#6334AD #ADA034 #41AD34
monochromatic
#2D184F #48267E #6334AD #8253CB #A482D9

Accessibility & contrast

On white

8.00
#6334AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6334AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6334AD
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6334AD#FFFFFF#000000##FFFFFF
##6334AD1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B1
Deuteranopia (green-blind)
#004FAB
Tritanopia (blue-blind)
#50526C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6334ad;
/* rgb */ color: rgb(99, 52, 173);
/* oklch */ color: oklch(45.4% 0.182 296.1);
Tailwind
colors: {
  custom: {
    50: '#966fc6',
    500: '#6334ad',
    950: '#000000',
  },
}
SCSS
$custom: #6334ad;
$custom-light: #966fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6334ad",
  "rgb": {
    "r": 99,
    "g": 52,
    "b": 173
  },
  "hsl": {
    "h": 263.306,
    "s": 53.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45384,
    "c": 0.18165,
    "h": 296.1
  },
  "luminance": 0.08126
}

Semantic roles & 50–950 ramp

primary
#6334AD
secondary
#A7C37A
accent
#DD4BA4
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6334AD

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

Preview Lab → · Contrast checker → · Palette generator →

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