#6334A4#6334A4

#6334A4 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.7% C 0.171 H 298.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#6334A4
RGBrgb(99, 52, 164)
HSLhsl(265, 52%, 42%)
HSVhsv(265, 68%, 64%)
CMYKcmyk(39.6%, 68.3%, 0%, 35.7%)
CIE-LABlab(33.54, 44.56, -52.79)
CIE-LCHlch(33.54, 69.09, 310.17°)
OKLaboklab(44.66% 0.0815 -0.1506)
OKLCHoklch(44.66% 0.171 298.4)
XYZxyz(13.0727, 7.7888, 35.9294)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6334A4 #75A434
analogous
#343DA4 #6334A4 #9B34A4
triadic
#6334A4 #A46334 #34A463
tetradic
#6334A4 #A4343D #75A434 #34A49B
square
#6334A4 #A4343D #75A434 #34A49B
split-complementary
#6334A4 #A49B34 #3DA434
monochromatic
#2B1747 #472576 #6334A4 #814EC7 #A27DD6

Accessibility & contrast

On white

8.21
#6334A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6334A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6334A4
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6334A4#FFFFFF#000000##FFFFFF
##6334A41.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#004EA2
Tritanopia (blue-blind)
#544E68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6334a4;
/* rgb */ color: rgb(99, 52, 164);
/* oklch */ color: oklch(44.7% 0.171 298.4);
Tailwind
colors: {
  custom: {
    50: '#956fc0',
    500: '#6334a4',
    950: '#000000',
  },
}
SCSS
$custom: #6334a4;
$custom-light: #956fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6334a4",
  "rgb": {
    "r": 99,
    "g": 52,
    "b": 164
  },
  "hsl": {
    "h": 265.179,
    "s": 51.852,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4466,
    "c": 0.17119,
    "h": 298.4
  },
  "luminance": 0.07789
}

Semantic roles & 50–950 ramp

primary
#6334A4
secondary
#A0BF75
accent
#DB4C9F
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6334A4

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

Preview Lab → · Contrast checker → · Palette generator →

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