#6336AD#6336AD

#6336AD is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.6% C 0.179 H 295.8°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#6336AD
RGBrgb(99, 54, 173)
HSLhsl(263, 52%, 45%)
HSVhsv(263, 69%, 68%)
CMYKcmyk(42.8%, 68.8%, 0%, 32.2%)
CIE-LABlab(34.62, 45.92, -56.44)
CIE-LCHlch(34.62, 72.76, 309.13°)
OKLaboklab(45.65% 0.078 -0.1613)
OKLCHoklch(45.65% 0.179 295.8)
XYZxyz(14.0056, 8.3078, 40.3927)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6336AD #80AD36
analogous
#3645AD #6336AD #9F36AD
triadic
#6336AD #AD6336 #36AD63
tetradic
#6336AD #AD3645 #80AD36 #36AD9F
square
#6336AD #AD3645 #80AD36 #36AD9F
split-complementary
#6336AD #AD9F36 #45AD36
monochromatic
#2E1950 #48277E #6336AD #8256CA #A485D9

Accessibility & contrast

On white

7.89
#6336AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6336AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6336AD
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6336AD#FFFFFF#000000##FFFFFF
##6336AD1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B1
Deuteranopia (green-blind)
#0050AB
Tritanopia (blue-blind)
#4F536D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6336ad;
/* rgb */ color: rgb(99, 54, 173);
/* oklch */ color: oklch(45.6% 0.179 295.8);
Tailwind
colors: {
  custom: {
    50: '#9670c6',
    500: '#6336ad',
    950: '#000000',
  },
}
SCSS
$custom: #6336ad;
$custom-light: #9670c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6336ad",
  "rgb": {
    "r": 99,
    "g": 54,
    "b": 173
  },
  "hsl": {
    "h": 262.689,
    "s": 52.423,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4565,
    "c": 0.17916,
    "h": 295.8
  },
  "luminance": 0.08308
}

Semantic roles & 50–950 ramp

primary
#6336AD
secondary
#A8C27C
accent
#DC4CA5
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6336AD

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

Preview Lab → · Contrast checker → · Palette generator →

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