#6334AF#6334AF

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

Color values

HEX#6334AF
RGBrgb(99, 52, 175)
HSLhsl(263, 54%, 45%)
HSVhsv(263, 70%, 69%)
CMYKcmyk(43.4%, 70.3%, 0%, 31.4%)
CIE-LABlab(34.40, 47.49, -57.98)
CIE-LCHlch(34.40, 74.94, 309.32°)
OKLaboklab(45.55% 0.0797 -0.1658)
OKLCHoklch(45.55% 0.184 295.7)
XYZxyz(14.1094, 8.2035, 41.3892)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6334AF #80AF34
analogous
#3442AF #6334AF #A134AF
triadic
#6334AF #AF6334 #34AF63
tetradic
#6334AF #AF3442 #80AF34 #34AFA1
square
#6334AF #AF3442 #80AF34 #34AFA1
split-complementary
#6334AF #AFA134 #42AF34
monochromatic
#2E1851 #482680 #6334AF #8254CC #A483DA

Accessibility & contrast

On white

7.95
#6334AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6334AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6334AF
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6334AF#FFFFFF#000000##FFFFFF
##6334AF1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#4F536E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6334af;
/* rgb */ color: rgb(99, 52, 175);
/* oklch */ color: oklch(45.5% 0.184 295.7);
Tailwind
colors: {
  custom: {
    50: '#966fc8',
    500: '#6334af',
    950: '#000000',
  },
}
SCSS
$custom: #6334af;
$custom-light: #966fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6334af",
  "rgb": {
    "r": 99,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 262.927,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45548,
    "c": 0.18397,
    "h": 295.7
  },
  "luminance": 0.08204
}

Semantic roles & 50–950 ramp

primary
#6334AF
secondary
#A8C47B
accent
#DE4AA5
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6334AF

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

Preview Lab → · Contrast checker → · Palette generator →

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