#6337AA#6337AA

#6337AA is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.5% C 0.174 H 296.3°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#6337AA
RGBrgb(99, 55, 170)
HSLhsl(263, 51%, 44%)
HSVhsv(263, 68%, 67%)
CMYKcmyk(41.8%, 67.6%, 0%, 33.3%)
CIE-LABlab(34.57, 44.59, -54.71)
CIE-LCHlch(34.57, 70.58, 309.18°)
OKLaboklab(45.55% 0.0774 -0.1562)
OKLCHoklch(45.55% 0.174 296.3)
XYZxyz(13.7656, 8.2870, 38.8967)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6337AA #7EAA37
analogous
#3744AA #6337AA #9D37AA
triadic
#6337AA #AA6337 #37AA63
tetradic
#6337AA #AA3744 #7EAA37 #37AA9D
square
#6337AA #AA3744 #7EAA37 #37AA9D
split-complementary
#6337AA #AA9D37 #44AA37
monochromatic
#2D194E #48287C #6337AA #8256C8 #A484D7

Accessibility & contrast

On white

7.90
#6337AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6337AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6337AA
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6337AA#FFFFFF#000000##FFFFFF
##6337AA1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#0050A8
Tritanopia (blue-blind)
#51526C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6337aa;
/* rgb */ color: rgb(99, 55, 170);
/* oklch */ color: oklch(45.5% 0.174 296.3);
Tailwind
colors: {
  custom: {
    50: '#9571c4',
    500: '#6337aa',
    950: '#000000',
  },
}
SCSS
$custom: #6337aa;
$custom-light: #9571c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6337aa",
  "rgb": {
    "r": 99,
    "g": 55,
    "b": 170
  },
  "hsl": {
    "h": 262.957,
    "s": 51.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45547,
    "c": 0.17434,
    "h": 296.3
  },
  "luminance": 0.08287
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6337AA

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

Preview Lab → · Contrast checker → · Palette generator →

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