#6336CF#6336CF

#6336CF is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.6% C 0.218 H 289.0°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#6336CF
RGBrgb(99, 54, 207)
HSLhsl(258, 61%, 51%)
HSVhsv(258, 74%, 81%)
CMYKcmyk(52.2%, 73.9%, 0%, 18.8%)
CIE-LABlab(37.47, 55.17, -71.75)
CIE-LCHlch(37.47, 90.51, 307.56°)
OKLaboklab(48.56% 0.071 -0.2062)
OKLCHoklch(48.56% 0.218 289)
XYZxyz(17.7240, 9.7951, 59.9761)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6336CF #A2CF36
analogous
#3655CF #6336CF #AF36CF
triadic
#6336CF #CF6336 #36CF63
tetradic
#6336CF #CF3655 #A2CF36 #36CFAF
square
#6336CF #CF3655 #A2CF36 #36CFAF
split-complementary
#6336CF #CFAF36 #55CF36
monochromatic
#341B70 #4B27A1 #6336CF #8967DB #B099E7

Accessibility & contrast

On white

7.10
#6336CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#6336CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6336CF
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6336CF#FFFFFF#000000##FFFFFF
##6336CF1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD3
Deuteranopia (green-blind)
#0054CC
Tritanopia (blue-blind)
#3A6080
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6336cf;
/* rgb */ color: rgb(99, 54, 207);
/* oklch */ color: oklch(48.6% 0.218 289.0);
Tailwind
colors: {
  custom: {
    50: '#9a72df',
    500: '#6336cf',
    950: '#000000',
  },
}
SCSS
$custom: #6336cf;
$custom-light: #9a72df;
$custom-dark: #000000;
JSON
{
  "hex": "#6336cf",
  "rgb": {
    "r": 99,
    "g": 54,
    "b": 207
  },
  "hsl": {
    "h": 257.647,
    "s": 61.446,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48559,
    "c": 0.21814,
    "h": 289
  },
  "luminance": 0.09796
}

Semantic roles & 50–950 ramp

primary
#6336CF
secondary
#BED28F
accent
#E543B5
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6336CF

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

Preview Lab → · Contrast checker → · Palette generator →

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