#6336AF#6336AF

#6336AF is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.8% C 0.181 H 295.3°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#6336AF
RGBrgb(99, 54, 175)
HSLhsl(262, 53%, 45%)
HSVhsv(262, 69%, 69%)
CMYKcmyk(43.4%, 69.1%, 0%, 31.4%)
CIE-LABlab(34.77, 46.46, -57.37)
CIE-LCHlch(34.77, 73.83, 309.00°)
OKLaboklab(45.81% 0.0777 -0.164)
OKLCHoklch(45.81% 0.182 295.3)
XYZxyz(14.2006, 8.3858, 41.4196)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6336AF #82AF36
analogous
#3646AF #6336AF #9F36AF
triadic
#6336AF #AF6336 #36AF63
tetradic
#6336AF #AF3646 #82AF36 #36AF9F
square
#6336AF #AF3646 #82AF36 #36AF9F
split-complementary
#6336AF #AF9F36 #46AF36
monochromatic
#2E1951 #492880 #6336AF #8257CB #A586DA

Accessibility & contrast

On white

7.84
#6336AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6336AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6336AF#FFFFFF#000000##FFFFFF
##6336AF1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#4E546E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6336af;
/* rgb */ color: rgb(99, 54, 175);
/* oklch */ color: oklch(45.8% 0.181 295.3);
Tailwind
colors: {
  custom: {
    50: '#9670c8',
    500: '#6336af',
    950: '#000000',
  },
}
SCSS
$custom: #6336af;
$custom-light: #9670c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6336af",
  "rgb": {
    "r": 99,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 262.314,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45812,
    "c": 0.1815,
    "h": 295.3
  },
  "luminance": 0.08386
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6336AF

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

Preview Lab → · Contrast checker → · Palette generator →

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