#6334C5#6334C5

#6334C5 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.4% C 0.209 H 291.0°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#6334C5
RGBrgb(99, 52, 197)
HSLhsl(259, 58%, 49%)
HSVhsv(259, 74%, 77%)
CMYKcmyk(49.7%, 73.6%, 0%, 22.7%)
CIE-LABlab(36.25, 53.42, -67.94)
CIE-LCHlch(36.25, 86.42, 308.18°)
OKLaboklab(47.43% 0.0751 -0.195)
OKLCHoklch(47.43% 0.209 291)
XYZxyz(16.4488, 9.1392, 53.7099)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6334C5 #96C534
analogous
#344EC5 #6334C5 #AC34C5
triadic
#6334C5 #C56334 #34C563
tetradic
#6334C5 #C5344E #96C534 #34C5AC
square
#6334C5 #C5344E #96C534 #34C5AC
split-complementary
#6334C5 #C5AC34 #4EC534
monochromatic
#321A64 #4B2795 #6334C5 #8761D5 #AC91E2

Accessibility & contrast

On white

7.43
#6334C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6334C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6334C5
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6334C5#FFFFFF#000000##FFFFFF
##6334C51.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C9
Deuteranopia (green-blind)
#0052C2
Tritanopia (blue-blind)
#425B7A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6334c5;
/* rgb */ color: rgb(99, 52, 197);
/* oklch */ color: oklch(47.4% 0.209 291.0);
Tailwind
colors: {
  custom: {
    50: '#9970d8',
    500: '#6334c5',
    950: '#000000',
  },
}
SCSS
$custom: #6334c5;
$custom-light: #9970d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6334c5",
  "rgb": {
    "r": 99,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 259.448,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47429,
    "c": 0.20899,
    "h": 291
  },
  "luminance": 0.0914
}

Semantic roles & 50–950 ramp

primary
#6334C5
secondary
#B7CD88
accent
#E146AF
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6334C5

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

Preview Lab → · Contrast checker → · Palette generator →

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