#6336B3#6336B3

#6336B3 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.1% C 0.186 H 294.4°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#6336B3
RGBrgb(99, 54, 179)
HSLhsl(262, 54%, 46%)
HSVhsv(262, 70%, 70%)
CMYKcmyk(44.7%, 69.8%, 0%, 29.8%)
CIE-LABlab(35.09, 47.54, -59.23)
CIE-LCHlch(35.09, 75.95, 308.75°)
OKLaboklab(46.14% 0.077 -0.1695)
OKLCHoklch(46.14% 0.186 294.4)
XYZxyz(14.5992, 8.5453, 43.5193)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6336B3 #86B336
analogous
#3647B3 #6336B3 #A136B3
triadic
#6336B3 #B36336 #36B363
tetradic
#6336B3 #B33647 #86B336 #36B3A1
square
#6336B3 #B33647 #86B336 #36B3A1
split-complementary
#6336B3 #B3A136 #47B336
monochromatic
#2F1A55 #492884 #6336B3 #8359CD #A688DB

Accessibility & contrast

On white

7.75
#6336B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6336B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6336B3
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6336B3#FFFFFF#000000##FFFFFF
##6336B31.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#4C5570
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6336b3;
/* rgb */ color: rgb(99, 54, 179);
/* oklch */ color: oklch(46.1% 0.186 294.4);
Tailwind
colors: {
  custom: {
    50: '#9671cb',
    500: '#6336b3',
    950: '#000000',
  },
}
SCSS
$custom: #6336b3;
$custom-light: #9671cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6336b3",
  "rgb": {
    "r": 99,
    "g": 54,
    "b": 179
  },
  "hsl": {
    "h": 261.6,
    "s": 53.648,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46141,
    "c": 0.18617,
    "h": 294.4
  },
  "luminance": 0.08546
}

Semantic roles & 50–950 ramp

primary
#6336B3
secondary
#ACC580
accent
#DD4BA8
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6336B3

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

Preview Lab → · Contrast checker → · Palette generator →

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