#6336A2#6336A2

#6336A2 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.8% C 0.166 H 298.6°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#6336A2
RGBrgb(99, 54, 162)
HSLhsl(265, 50%, 42%)
HSVhsv(265, 67%, 64%)
CMYKcmyk(38.9%, 66.7%, 0%, 36.5%)
CIE-LABlab(33.77, 42.98, -51.21)
CIE-LCHlch(33.77, 66.85, 310.00°)
OKLaboklab(44.78% 0.0795 -0.1459)
OKLCHoklch(44.78% 0.166 298.6)
XYZxyz(12.9847, 7.8994, 35.0161)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6336A2 #75A236
analogous
#363FA2 #6336A2 #9936A2
triadic
#6336A2 #A26336 #36A263
tetradic
#6336A2 #A2363F #75A236 #36A299
square
#6336A2 #A2363F #75A236 #36A299
split-complementary
#6336A2 #A29936 #3FA236
monochromatic
#2B1746 #472774 #6336A2 #8150C5 #A27ED4

Accessibility & contrast

On white

8.14
#6336A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6336A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6336A2#FFFFFF#000000##FFFFFF
##6336A21.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#004EA0
Tritanopia (blue-blind)
#544F67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6336a2;
/* rgb */ color: rgb(99, 54, 162);
/* oklch */ color: oklch(44.8% 0.166 298.6);
Tailwind
colors: {
  custom: {
    50: '#9470be',
    500: '#6336a2',
    950: '#000000',
  },
}
SCSS
$custom: #6336a2;
$custom-light: #9470be;
$custom-dark: #000000;
JSON
{
  "hex": "#6336a2",
  "rgb": {
    "r": 99,
    "g": 54,
    "b": 162
  },
  "hsl": {
    "h": 265,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4478,
    "c": 0.16617,
    "h": 298.6
  },
  "luminance": 0.079
}

Semantic roles & 50–950 ramp

primary
#6336A2
secondary
#A0BD77
accent
#DA4EA0
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6336A2

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

Preview Lab → · Contrast checker → · Palette generator →

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