#6334C2#6334C2

#6334C2 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.2% C 0.206 H 291.6°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#6334C2
RGBrgb(99, 52, 194)
HSLhsl(260, 58%, 48%)
HSVhsv(260, 73%, 76%)
CMYKcmyk(49%, 73.2%, 0%, 23.9%)
CIE-LABlab(35.99, 52.60, -66.61)
CIE-LCHlch(35.99, 84.88, 308.30°)
OKLaboklab(47.17% 0.0758 -0.1911)
OKLCHoklch(47.17% 0.206 291.6)
XYZxyz(16.1084, 9.0031, 51.9175)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6334C2 #93C234
analogous
#344CC2 #6334C2 #AA34C2
triadic
#6334C2 #C26334 #34C263
tetradic
#6334C2 #C2344C #93C234 #34C2AA
square
#6334C2 #C2344C #93C234 #34C2AA
split-complementary
#6334C2 #C2AA34 #4CC234
monochromatic
#321A61 #4A2792 #6334C2 #865FD4 #AA8FE1

Accessibility & contrast

On white

7.50
#6334C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6334C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6334C2
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6334C2#FFFFFF#000000##FFFFFF
##6334C21.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C6
Deuteranopia (green-blind)
#0052BF
Tritanopia (blue-blind)
#445A78
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6334c2;
/* rgb */ color: rgb(99, 52, 194);
/* oklch */ color: oklch(47.2% 0.206 291.6);
Tailwind
colors: {
  custom: {
    50: '#9870d6',
    500: '#6334c2',
    950: '#000000',
  },
}
SCSS
$custom: #6334c2;
$custom-light: #9870d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6334c2",
  "rgb": {
    "r": 99,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 259.859,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47165,
    "c": 0.20562,
    "h": 291.6
  },
  "luminance": 0.09004
}

Semantic roles & 50–950 ramp

primary
#6334C2
secondary
#B5CC86
accent
#E147AE
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6334C2

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

Preview Lab → · Contrast checker → · Palette generator →

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