#6334AC#6334AC

#6334AC is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.3% C 0.180 H 296.4°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#6334AC
RGBrgb(99, 52, 172)
HSLhsl(264, 54%, 44%)
HSVhsv(264, 70%, 67%)
CMYKcmyk(42.4%, 69.8%, 0%, 32.5%)
CIE-LABlab(34.16, 46.69, -56.58)
CIE-LCHlch(34.16, 73.35, 309.53°)
OKLaboklab(45.3% 0.0802 -0.1617)
OKLCHoklch(45.3% 0.18 296.4)
XYZxyz(13.8180, 8.0869, 39.8546)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6334AC #7DAC34
analogous
#3441AC #6334AC #9F34AC
triadic
#6334AC #AC6334 #34AC63
tetradic
#6334AC #AC3441 #7DAC34 #34AC9F
square
#6334AC #AC3441 #7DAC34 #34AC9F
split-complementary
#6334AC #AC9F34 #41AC34
monochromatic
#2D184E #48267D #6334AC #8252CB #A481D9

Accessibility & contrast

On white

8.02
#6334AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6334AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6334AC
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6334AC#FFFFFF#000000##FFFFFF
##6334AC1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#004FAA
Tritanopia (blue-blind)
#50516C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6334ac;
/* rgb */ color: rgb(99, 52, 172);
/* oklch */ color: oklch(45.3% 0.180 296.4);
Tailwind
colors: {
  custom: {
    50: '#966fc6',
    500: '#6334ac',
    950: '#000000',
  },
}
SCSS
$custom: #6334ac;
$custom-light: #966fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6334ac",
  "rgb": {
    "r": 99,
    "g": 52,
    "b": 172
  },
  "hsl": {
    "h": 263.5,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45302,
    "c": 0.18049,
    "h": 296.4
  },
  "luminance": 0.08087
}

Semantic roles & 50–950 ramp

primary
#6334AC
secondary
#A6C279
accent
#DD4BA4
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6334AC

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

Preview Lab → · Contrast checker → · Palette generator →

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