#6336AA#6336AA

#6336AA is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.4% C 0.176 H 296.5°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#6336AA
RGBrgb(99, 54, 170)
HSLhsl(263, 52%, 44%)
HSVhsv(263, 68%, 67%)
CMYKcmyk(41.8%, 68.2%, 0%, 33.3%)
CIE-LABlab(34.38, 45.11, -55.03)
CIE-LCHlch(34.38, 71.16, 309.35°)
OKLaboklab(45.41% 0.0785 -0.1571)
OKLCHoklch(45.41% 0.176 296.5)
XYZxyz(13.7186, 8.1930, 38.8810)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6336AA #7DAA36
analogous
#3643AA #6336AA #9D36AA
triadic
#6336AA #AA6336 #36AA63
tetradic
#6336AA #AA3643 #7DAA36 #36AA9D
square
#6336AA #AA3643 #7DAA36 #36AA9D
split-complementary
#6336AA #AA9D36 #43AA36
monochromatic
#2D184D #48277C #6336AA #8254C9 #A483D8

Accessibility & contrast

On white

7.96
#6336AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6336AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6336AA#FFFFFF#000000##FFFFFF
##6336AA1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#004FA8
Tritanopia (blue-blind)
#51526B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6336aa;
/* rgb */ color: rgb(99, 54, 170);
/* oklch */ color: oklch(45.4% 0.176 296.5);
Tailwind
colors: {
  custom: {
    50: '#9570c4',
    500: '#6336aa',
    950: '#000000',
  },
}
SCSS
$custom: #6336aa;
$custom-light: #9570c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6336aa",
  "rgb": {
    "r": 99,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 263.276,
    "s": 51.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45409,
    "c": 0.17563,
    "h": 296.5
  },
  "luminance": 0.08193
}

Semantic roles & 50–950 ramp

primary
#6336AA
secondary
#A6C17B
accent
#DB4DA4
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6336AA

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

Preview Lab → · Contrast checker → · Palette generator →

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