#6335B0#6335B0

#6335B0 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.184 H 295.3°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#6335B0
RGBrgb(99, 53, 176)
HSLhsl(262, 54%, 45%)
HSVhsv(262, 70%, 69%)
CMYKcmyk(43.8%, 69.9%, 0%, 31%)
CIE-LABlab(34.67, 47.25, -58.14)
CIE-LCHlch(34.67, 74.92, 309.10°)
OKLaboklab(45.76% 0.0785 -0.1663)
OKLCHoklch(45.76% 0.184 295.3)
XYZxyz(14.2531, 8.3331, 41.9234)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6335B0 #82B035
analogous
#3544B0 #6335B0 #A135B0
triadic
#6335B0 #B06335 #35B063
tetradic
#6335B0 #B03544 #82B035 #35B0A1
square
#6335B0 #B03544 #82B035 #35B0A1
split-complementary
#6335B0 #B0A135 #44B035
monochromatic
#2E1952 #492781 #6335B0 #8256CC #A585DA

Accessibility & contrast

On white

7.88
#6335B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6335B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6335B0
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6335B0#FFFFFF#000000##FFFFFF
##6335B01.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0050AE
Tritanopia (blue-blind)
#4E536E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6335b0;
/* rgb */ color: rgb(99, 53, 176);
/* oklch */ color: oklch(45.8% 0.184 295.3);
Tailwind
colors: {
  custom: {
    50: '#9670c8',
    500: '#6335b0',
    950: '#000000',
  },
}
SCSS
$custom: #6335b0;
$custom-light: #9670c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6335b0",
  "rgb": {
    "r": 99,
    "g": 53,
    "b": 176
  },
  "hsl": {
    "h": 262.439,
    "s": 53.712,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45761,
    "c": 0.1839,
    "h": 295.3
  },
  "luminance": 0.08333
}

Semantic roles & 50–950 ramp

primary
#6335B0
secondary
#A9C47D
accent
#DD4BA6
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6335B0

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

Preview Lab → · Contrast checker → · Palette generator →

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