#6337A4#6337A4

#6337A4 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.1% C 0.167 H 297.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#6337A4
RGBrgb(99, 55, 164)
HSLhsl(264, 50%, 43%)
HSVhsv(264, 66%, 64%)
CMYKcmyk(39.6%, 66.5%, 0%, 35.7%)
CIE-LABlab(34.12, 42.97, -51.85)
CIE-LCHlch(34.12, 67.35, 309.65°)
OKLaboklab(45.08% 0.0781 -0.1478)
OKLCHoklch(45.08% 0.167 297.9)
XYZxyz(13.2109, 8.0652, 35.9755)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6337A4 #78A437
analogous
#3741A4 #6337A4 #9937A4
triadic
#6337A4 #A46337 #37A463
tetradic
#6337A4 #A43741 #78A437 #37A499
square
#6337A4 #A43741 #78A437 #37A499
split-complementary
#6337A4 #A49937 #41A437
monochromatic
#2C1848 #472876 #6337A4 #8153C5 #A381D5

Accessibility & contrast

On white

8.04
#6337A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6337A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6337A4#FFFFFF#000000##FFFFFF
##6337A41.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#004FA2
Tritanopia (blue-blind)
#535068
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6337a4;
/* rgb */ color: rgb(99, 55, 164);
/* oklch */ color: oklch(45.1% 0.167 297.9);
Tailwind
colors: {
  custom: {
    50: '#9571c0',
    500: '#6337a4',
    950: '#000000',
  },
}
SCSS
$custom: #6337a4;
$custom-light: #9571c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6337a4",
  "rgb": {
    "r": 99,
    "g": 55,
    "b": 164
  },
  "hsl": {
    "h": 264.22,
    "s": 49.772,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45076,
    "c": 0.1672,
    "h": 297.9
  },
  "luminance": 0.08065
}

Semantic roles & 50–950 ramp

primary
#6337A4
secondary
#A2BE79
accent
#D94FA1
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6337A4

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

Preview Lab → · Contrast checker → · Palette generator →

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