#6336AE#6336AE

#6336AE is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.7% C 0.180 H 295.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#6336AE
RGBrgb(99, 54, 174)
HSLhsl(263, 53%, 45%)
HSVhsv(263, 69%, 68%)
CMYKcmyk(43.1%, 69%, 0%, 31.8%)
CIE-LABlab(34.69, 46.19, -56.91)
CIE-LCHlch(34.69, 73.29, 309.07°)
OKLaboklab(45.73% 0.0778 -0.1627)
OKLCHoklch(45.73% 0.18 295.6)
XYZxyz(14.1027, 8.3466, 40.9042)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6336AE #81AE36
analogous
#3645AE #6336AE #9F36AE
triadic
#6336AE #AE6336 #36AE63
tetradic
#6336AE #AE3645 #81AE36 #36AE9F
square
#6336AE #AE3645 #81AE36 #36AE9F
split-complementary
#6336AE #AE9F36 #45AE36
monochromatic
#2E1951 #48287F #6336AE #8256CB #A585D9

Accessibility & contrast

On white

7.87
#6336AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6336AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6336AE
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6336AE#FFFFFF#000000##FFFFFF
##6336AE1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#4F536E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6336ae;
/* rgb */ color: rgb(99, 54, 174);
/* oklch */ color: oklch(45.7% 0.180 295.6);
Tailwind
colors: {
  custom: {
    50: '#9670c7',
    500: '#6336ae',
    950: '#000000',
  },
}
SCSS
$custom: #6336ae;
$custom-light: #9670c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6336ae",
  "rgb": {
    "r": 99,
    "g": 54,
    "b": 174
  },
  "hsl": {
    "h": 262.5,
    "s": 52.632,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45731,
    "c": 0.18033,
    "h": 295.6
  },
  "luminance": 0.08347
}

Semantic roles & 50–950 ramp

primary
#6336AE
secondary
#A9C37D
accent
#DC4CA6
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6336AE

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

Preview Lab → · Contrast checker → · Palette generator →

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