#6335B3#6335B3

#6335B3 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.0% C 0.187 H 294.6°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#6335B3
RGBrgb(99, 53, 179)
HSLhsl(262, 54%, 45%)
HSVhsv(262, 70%, 70%)
CMYKcmyk(44.7%, 70.4%, 0%, 29.8%)
CIE-LABlab(34.91, 48.06, -59.53)
CIE-LCHlch(34.91, 76.51, 308.91°)
OKLaboklab(46.01% 0.078 -0.1704)
OKLCHoklch(46.01% 0.187 294.6)
XYZxyz(14.5532, 8.4531, 43.5039)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6335B3 #85B335
analogous
#3546B3 #6335B3 #A235B3
triadic
#6335B3 #B36335 #35B363
tetradic
#6335B3 #B33546 #85B335 #35B3A2
square
#6335B3 #B33546 #85B335 #35B3A2
split-complementary
#6335B3 #B3A235 #46B335
monochromatic
#2F1955 #492784 #6335B3 #8358CD #A687DB

Accessibility & contrast

On white

7.80
#6335B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6335B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6335B3
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6335B3#FFFFFF#000000##FFFFFF
##6335B31.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#4D5570
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6335b3;
/* rgb */ color: rgb(99, 53, 179);
/* oklch */ color: oklch(46.0% 0.187 294.6);
Tailwind
colors: {
  custom: {
    50: '#9670cb',
    500: '#6335b3',
    950: '#000000',
  },
}
SCSS
$custom: #6335b3;
$custom-light: #9670cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6335b3",
  "rgb": {
    "r": 99,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 261.905,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46009,
    "c": 0.18738,
    "h": 294.6
  },
  "luminance": 0.08454
}

Semantic roles & 50–950 ramp

primary
#6335B3
secondary
#ABC57F
accent
#DE4AA8
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6335B3

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

Preview Lab → · Contrast checker → · Palette generator →

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