#6337A5#6337A5

#6337A5 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.2% C 0.168 H 297.6°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#6337A5
RGBrgb(99, 55, 165)
HSLhsl(264, 50%, 43%)
HSVhsv(264, 67%, 65%)
CMYKcmyk(40%, 66.7%, 0%, 35.3%)
CIE-LABlab(34.19, 43.24, -52.33)
CIE-LCHlch(34.19, 67.89, 309.57°)
OKLaboklab(45.15% 0.078 -0.1492)
OKLCHoklch(45.15% 0.168 297.6)
XYZxyz(13.3016, 8.1014, 36.4529)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6337A5 #79A537
analogous
#3742A5 #6337A5 #9A37A5
triadic
#6337A5 #A56337 #37A563
tetradic
#6337A5 #A53742 #79A537 #37A59A
square
#6337A5 #A53742 #79A537 #37A59A
split-complementary
#6337A5 #A59A37 #42A537
monochromatic
#2C1849 #472877 #6337A5 #8153C6 #A381D5

Accessibility & contrast

On white

8.01
#6337A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6337A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6337A5#FFFFFF#000000##FFFFFF
##6337A51.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A8
Deuteranopia (green-blind)
#004FA3
Tritanopia (blue-blind)
#535169
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6337a5;
/* rgb */ color: rgb(99, 55, 165);
/* oklch */ color: oklch(45.2% 0.168 297.6);
Tailwind
colors: {
  custom: {
    50: '#9571c0',
    500: '#6337a5',
    950: '#000000',
  },
}
SCSS
$custom: #6337a5;
$custom-light: #9571c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6337a5",
  "rgb": {
    "r": 99,
    "g": 55,
    "b": 165
  },
  "hsl": {
    "h": 264,
    "s": 50,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45154,
    "c": 0.16839,
    "h": 297.6
  },
  "luminance": 0.08102
}

Semantic roles & 50–950 ramp

primary
#6337A5
secondary
#A3BF79
accent
#DA4EA2
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6337A5

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

Preview Lab → · Contrast checker → · Palette generator →

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