#6336C2#6336C2

#6336C2 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.4% C 0.203 H 291.3°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#6336C2
RGBrgb(99, 54, 194)
HSLhsl(259, 56%, 49%)
HSVhsv(259, 72%, 76%)
CMYKcmyk(49%, 72.2%, 0%, 23.9%)
CIE-LABlab(36.34, 51.62, -66.04)
CIE-LCHlch(36.34, 83.82, 308.01°)
OKLaboklab(47.41% 0.074 -0.1895)
OKLCHoklch(47.41% 0.203 291.3)
XYZxyz(16.1996, 9.1854, 51.9479)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6336C2 #95C236
analogous
#364FC2 #6336C2 #A936C2
triadic
#6336C2 #C26336 #36C263
tetradic
#6336C2 #C2364F #95C236 #36C2A9
square
#6336C2 #C2364F #95C236 #36C2A9
split-complementary
#6336C2 #C2A936 #4FC236
monochromatic
#321B62 #4B2992 #6336C2 #8662D3 #AB92E1

Accessibility & contrast

On white

7.40
#6336C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6336C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6336C2
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6336C2#FFFFFF#000000##FFFFFF
##6336C21.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#0052BF
Tritanopia (blue-blind)
#445B79
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6336c2;
/* rgb */ color: rgb(99, 54, 194);
/* oklch */ color: oklch(47.4% 0.203 291.3);
Tailwind
colors: {
  custom: {
    50: '#9871d6',
    500: '#6336c2',
    950: '#000000',
  },
}
SCSS
$custom: #6336c2;
$custom-light: #9871d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6336c2",
  "rgb": {
    "r": 99,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 259.286,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47411,
    "c": 0.20344,
    "h": 291.3
  },
  "luminance": 0.09186
}

Semantic roles & 50–950 ramp

primary
#6336C2
secondary
#B6CC88
accent
#E048AF
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6336C2

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

Preview Lab → · Contrast checker → · Palette generator →

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