#6335C4#6335C4

#6335C4 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.5% C 0.207 H 291.1°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#6335C4
RGBrgb(99, 53, 196)
HSLhsl(259, 57%, 49%)
HSVhsv(259, 73%, 77%)
CMYKcmyk(49.5%, 73%, 0%, 23.1%)
CIE-LABlab(36.34, 52.66, -67.21)
CIE-LCHlch(36.34, 85.39, 308.08°)
OKLaboklab(47.46% 0.0745 -0.1929)
OKLCHoklch(47.46% 0.207 291.1)
XYZxyz(16.3797, 9.1837, 53.1234)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6335C4 #96C435
analogous
#354EC4 #6335C4 #AB35C4
triadic
#6335C4 #C46335 #35C463
tetradic
#6335C4 #C4354E #96C435 #35C4AB
square
#6335C4 #C4354E #96C435 #35C4AB
split-complementary
#6335C4 #C4AB35 #4EC435
monochromatic
#321B64 #4B2894 #6335C4 #8762D4 #AC92E1

Accessibility & contrast

On white

7.40
#6335C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6335C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6335C4
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6335C4#FFFFFF#000000##FFFFFF
##6335C41.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6335c4;
/* rgb */ color: rgb(99, 53, 196);
/* oklch */ color: oklch(47.5% 0.207 291.1);
Tailwind
colors: {
  custom: {
    50: '#9871d7',
    500: '#6335c4',
    950: '#000000',
  },
}
SCSS
$custom: #6335c4;
$custom-light: #9871d7;
$custom-dark: #000000;
JSON
{
  "hex": "#6335c4",
  "rgb": {
    "r": 99,
    "g": 53,
    "b": 196
  },
  "hsl": {
    "h": 259.301,
    "s": 57.43,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47462,
    "c": 0.2068,
    "h": 291.1
  },
  "luminance": 0.09184
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6335C4

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

Preview Lab → · Contrast checker → · Palette generator →

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