#6334AB#6334AB

#6334AB is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.2% C 0.179 H 296.6°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#6334AB
RGBrgb(99, 52, 171)
HSLhsl(264, 53%, 44%)
HSVhsv(264, 70%, 67%)
CMYKcmyk(42.1%, 69.6%, 0%, 32.9%)
CIE-LABlab(34.08, 46.42, -56.11)
CIE-LCHlch(34.08, 72.82, 309.60°)
OKLaboklab(45.22% 0.0804 -0.1603)
OKLCHoklch(45.22% 0.179 296.6)
XYZxyz(13.7223, 8.0486, 39.3507)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6334AB #7CAB34
analogous
#3441AB #6334AB #9E34AB
triadic
#6334AB #AB6334 #34AB63
tetradic
#6334AB #AB3441 #7CAB34 #34AB9E
square
#6334AB #AB3441 #7CAB34 #34AB9E
split-complementary
#6334AB #AB9E34 #41AB34
monochromatic
#2D174D #48267C #6334AB #8152CA #A381D9

Accessibility & contrast

On white

8.05
#6334AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6334AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6334AB
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6334AB#FFFFFF#000000##FFFFFF
##6334AB1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AF
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#50516B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6334ab;
/* rgb */ color: rgb(99, 52, 171);
/* oklch */ color: oklch(45.2% 0.179 296.6);
Tailwind
colors: {
  custom: {
    50: '#956fc5',
    500: '#6334ab',
    950: '#000000',
  },
}
SCSS
$custom: #6334ab;
$custom-light: #956fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6334ab",
  "rgb": {
    "r": 99,
    "g": 52,
    "b": 171
  },
  "hsl": {
    "h": 263.697,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45221,
    "c": 0.17934,
    "h": 296.6
  },
  "luminance": 0.08049
}

Semantic roles & 50–950 ramp

primary
#6334AB
secondary
#A5C279
accent
#DD4BA3
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6334AB

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

Preview Lab → · Contrast checker → · Palette generator →

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