#6334C4#6334C4

#6334C4 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.3% C 0.208 H 291.2°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#6334C4
RGBrgb(99, 52, 196)
HSLhsl(260, 58%, 49%)
HSVhsv(260, 73%, 77%)
CMYKcmyk(49.5%, 73.5%, 0%, 23.1%)
CIE-LABlab(36.16, 53.14, -67.50)
CIE-LCHlch(36.16, 85.91, 308.22°)
OKLaboklab(47.34% 0.0753 -0.1937)
OKLCHoklch(47.34% 0.208 291.2)
XYZxyz(16.3346, 9.0935, 53.1084)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6334C4 #95C434
analogous
#344DC4 #6334C4 #AB34C4
triadic
#6334C4 #C46334 #34C463
tetradic
#6334C4 #C4344D #95C434 #34C4AB
square
#6334C4 #C4344D #95C434 #34C4AB
split-complementary
#6334C4 #C4AB34 #4DC434
monochromatic
#321A63 #4B2794 #6334C4 #8660D5 #AB91E2

Accessibility & contrast

On white

7.45
#6334C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6334C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6334C4
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6334C4#FFFFFF#000000##FFFFFF
##6334C41.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C8
Deuteranopia (green-blind)
#0052C1
Tritanopia (blue-blind)
#435B79
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6334c4;
/* rgb */ color: rgb(99, 52, 196);
/* oklch */ color: oklch(47.3% 0.208 291.2);
Tailwind
colors: {
  custom: {
    50: '#9970d7',
    500: '#6334c4',
    950: '#000000',
  },
}
SCSS
$custom: #6334c4;
$custom-light: #9970d7;
$custom-dark: #000000;
JSON
{
  "hex": "#6334c4",
  "rgb": {
    "r": 99,
    "g": 52,
    "b": 196
  },
  "hsl": {
    "h": 259.583,
    "s": 58.065,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47341,
    "c": 0.20786,
    "h": 291.2
  },
  "luminance": 0.09094
}

Semantic roles & 50–950 ramp

primary
#6334C4
secondary
#B6CC87
accent
#E147AF
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6334C4

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

Preview Lab → · Contrast checker → · Palette generator →

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