#6335B7#6335B7

#6335B7 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.3% C 0.192 H 293.7°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#6335B7
RGBrgb(99, 53, 183)
HSLhsl(261, 55%, 46%)
HSVhsv(261, 71%, 72%)
CMYKcmyk(45.9%, 71%, 0%, 28.2%)
CIE-LABlab(35.24, 49.13, -61.37)
CIE-LCHlch(35.24, 78.61, 308.68°)
OKLaboklab(46.34% 0.0772 -0.1758)
OKLCHoklch(46.34% 0.192 293.7)
XYZxyz(14.9636, 8.6173, 45.6655)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6335B7 #89B735
analogous
#3548B7 #6335B7 #A435B7
triadic
#6335B7 #B76335 #35B763
tetradic
#6335B7 #B73548 #89B735 #35B7A4
square
#6335B7 #B73548 #89B735 #35B7A4
split-complementary
#6335B7 #B7A435 #48B735
monochromatic
#301A58 #492788 #6335B7 #835ACF #A789DD

Accessibility & contrast

On white

7.71
#6335B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#6335B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6335B7
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6335B7#FFFFFF#000000##FFFFFF
##6335B71.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0051B4
Tritanopia (blue-blind)
#4A5672
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6335b7;
/* rgb */ color: rgb(99, 53, 183);
/* oklch */ color: oklch(46.3% 0.192 293.7);
Tailwind
colors: {
  custom: {
    50: '#9770ce',
    500: '#6335b7',
    950: '#000000',
  },
}
SCSS
$custom: #6335b7;
$custom-light: #9770ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6335b7",
  "rgb": {
    "r": 99,
    "g": 53,
    "b": 183
  },
  "hsl": {
    "h": 261.231,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46344,
    "c": 0.19198,
    "h": 293.7
  },
  "luminance": 0.08618
}

Semantic roles & 50–950 ramp

primary
#6335B7
secondary
#AEC781
accent
#DE49AA
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6335B7

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

Preview Lab → · Contrast checker → · Palette generator →

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