#6337AC#6337AC

#6337AC is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.7% C 0.177 H 295.9°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#6337AC
RGBrgb(99, 55, 172)
HSLhsl(263, 52%, 45%)
HSVhsv(263, 68%, 67%)
CMYKcmyk(42.4%, 68%, 0%, 32.5%)
CIE-LABlab(34.73, 45.13, -55.66)
CIE-LCHlch(34.73, 71.65, 309.03°)
OKLaboklab(45.71% 0.0771 -0.159)
OKLCHoklch(45.71% 0.177 295.9)
XYZxyz(13.9562, 8.3633, 39.9007)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6337AC #80AC37
analogous
#3746AC #6337AC #9E37AC
triadic
#6337AC #AC6337 #37AC63
tetradic
#6337AC #AC3746 #80AC37 #37AC9E
square
#6337AC #AC3746 #80AC37 #37AC9E
split-complementary
#6337AC #AC9E37 #46AC37
monochromatic
#2E194F #48287E #6337AC #8257C9 #A485D8

Accessibility & contrast

On white

7.86
#6337AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6337AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6337AC#FFFFFF#000000##FFFFFF
##6337AC1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#50536D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6337ac;
/* rgb */ color: rgb(99, 55, 172);
/* oklch */ color: oklch(45.7% 0.177 295.9);
Tailwind
colors: {
  custom: {
    50: '#9571c6',
    500: '#6337ac',
    950: '#000000',
  },
}
SCSS
$custom: #6337ac;
$custom-light: #9571c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6337ac",
  "rgb": {
    "r": 99,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 262.564,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45706,
    "c": 0.17671,
    "h": 295.9
  },
  "luminance": 0.08364
}

Semantic roles & 50–950 ramp

primary
#6337AC
secondary
#A8C27D
accent
#DB4DA6
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6337AC

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

Preview Lab → · Contrast checker → · Palette generator →

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