#6336B2#6336B2

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

Color values

HEX#6336B2
RGBrgb(99, 54, 178)
HSLhsl(262, 53%, 45%)
HSVhsv(262, 70%, 70%)
CMYKcmyk(44.4%, 69.7%, 0%, 30.2%)
CIE-LABlab(35.01, 47.27, -58.77)
CIE-LCHlch(35.01, 75.42, 308.81°)
OKLaboklab(46.06% 0.0772 -0.1681)
OKLCHoklch(46.06% 0.185 294.7)
XYZxyz(14.4985, 8.5050, 42.9886)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6336B2 #85B236
analogous
#3647B2 #6336B2 #A136B2
triadic
#6336B2 #B26336 #36B263
tetradic
#6336B2 #B23647 #85B236 #36B2A1
square
#6336B2 #B23647 #85B236 #36B2A1
split-complementary
#6336B2 #B2A136 #47B236
monochromatic
#2F1A54 #492883 #6336B2 #8359CD #A688DB

Accessibility & contrast

On white

7.77
#6336B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6336B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6336B2
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6336B2#FFFFFF#000000##FFFFFF
##6336B21.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6336b2;
/* rgb */ color: rgb(99, 54, 178);
/* oklch */ color: oklch(46.1% 0.185 294.7);
Tailwind
colors: {
  custom: {
    50: '#9670ca',
    500: '#6336b2',
    950: '#000000',
  },
}
SCSS
$custom: #6336b2;
$custom-light: #9670ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6336b2",
  "rgb": {
    "r": 99,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 261.774,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46058,
    "c": 0.185,
    "h": 294.7
  },
  "luminance": 0.08505
}

Semantic roles & 50–950 ramp

primary
#6336B2
secondary
#ABC57F
accent
#DD4BA8
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6336B2

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

Preview Lab → · Contrast checker → · Palette generator →

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