#6336C1#6336C1

#6336C1 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.3% C 0.202 H 291.5°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#6336C1
RGBrgb(99, 54, 193)
HSLhsl(259, 56%, 48%)
HSVhsv(259, 72%, 76%)
CMYKcmyk(48.7%, 72%, 0%, 24.3%)
CIE-LABlab(36.25, 51.35, -65.59)
CIE-LCHlch(36.25, 83.30, 308.06°)
OKLaboklab(47.33% 0.0743 -0.1882)
OKLCHoklch(47.33% 0.202 291.5)
XYZxyz(16.0877, 9.1406, 51.3584)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6336C1 #94C136
analogous
#364FC1 #6336C1 #A836C1
triadic
#6336C1 #C16336 #36C163
tetradic
#6336C1 #C1364F #94C136 #36C1A8
square
#6336C1 #C1364F #94C136 #36C1A8
split-complementary
#6336C1 #C1A836 #4FC136
monochromatic
#321B61 #4A2991 #6336C1 #8661D3 #AB91E0

Accessibility & contrast

On white

7.43
#6336C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6336C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6336C1
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6336C1#FFFFFF#000000##FFFFFF
##6336C11.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C5
Deuteranopia (green-blind)
#0052BE
Tritanopia (blue-blind)
#445A78
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6336c1;
/* rgb */ color: rgb(99, 54, 193);
/* oklch */ color: oklch(47.3% 0.202 291.5);
Tailwind
colors: {
  custom: {
    50: '#9871d5',
    500: '#6336c1',
    950: '#000000',
  },
}
SCSS
$custom: #6336c1;
$custom-light: #9871d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6336c1",
  "rgb": {
    "r": 99,
    "g": 54,
    "b": 193
  },
  "hsl": {
    "h": 259.424,
    "s": 56.275,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47325,
    "c": 0.2023,
    "h": 291.5
  },
  "luminance": 0.09141
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6336C1

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

Preview Lab → · Contrast checker → · Palette generator →

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