#6334AE#6334AE

#6334AE is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.5% C 0.183 H 295.9°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#6334AE
RGBrgb(99, 52, 174)
HSLhsl(263, 54%, 44%)
HSVhsv(263, 70%, 68%)
CMYKcmyk(43.1%, 70.1%, 0%, 31.8%)
CIE-LABlab(34.32, 47.22, -57.51)
CIE-LCHlch(34.32, 74.41, 309.39°)
OKLaboklab(45.47% 0.0799 -0.1644)
OKLCHoklch(45.47% 0.183 295.9)
XYZxyz(14.0115, 8.1643, 40.8738)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6334AE #7FAE34
analogous
#3442AE #6334AE #A034AE
triadic
#6334AE #AE6334 #34AE63
tetradic
#6334AE #AE3442 #7FAE34 #34AEA0
square
#6334AE #AE3442 #7FAE34 #34AEA0
split-complementary
#6334AE #AEA034 #42AE34
monochromatic
#2D1850 #48267F #6334AE #8253CC #A483DA

Accessibility & contrast

On white

7.98
#6334AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6334AE
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6334AE#FFFFFF#000000##FFFFFF
##6334AE1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#4F526D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6334ae;
/* rgb */ color: rgb(99, 52, 174);
/* oklch */ color: oklch(45.5% 0.183 295.9);
Tailwind
colors: {
  custom: {
    50: '#966fc7',
    500: '#6334ae',
    950: '#000000',
  },
}
SCSS
$custom: #6334ae;
$custom-light: #966fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6334ae",
  "rgb": {
    "r": 99,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 263.115,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45466,
    "c": 0.18281,
    "h": 295.9
  },
  "luminance": 0.08165
}

Semantic roles & 50–950 ramp

primary
#6334AE
secondary
#A7C37B
accent
#DD4AA5
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6334AE

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

Preview Lab → · Contrast checker → · Palette generator →

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