#6337AB#6337AB

#6337AB is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.6% C 0.176 H 296.1°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#6337AB
RGBrgb(99, 55, 171)
HSLhsl(263, 51%, 44%)
HSVhsv(263, 68%, 67%)
CMYKcmyk(42.1%, 67.8%, 0%, 32.9%)
CIE-LABlab(34.65, 44.86, -55.19)
CIE-LCHlch(34.65, 71.12, 309.10°)
OKLaboklab(45.63% 0.0772 -0.1576)
OKLCHoklch(45.63% 0.176 296.1)
XYZxyz(13.8605, 8.3250, 39.3968)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6337AB #7FAB37
analogous
#3745AB #6337AB #9D37AB
triadic
#6337AB #AB6337 #37AB63
tetradic
#6337AB #AB3745 #7FAB37 #37AB9D
square
#6337AB #AB3745 #7FAB37 #37AB9D
split-complementary
#6337AB #AB9D37 #45AB37
monochromatic
#2D194E #48287D #6337AB #8256C9 #A485D8

Accessibility & contrast

On white

7.88
#6337AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##6337AB#FFFFFF#000000##FFFFFF
##6337AB1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#50536C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6337ab;
/* rgb */ color: rgb(99, 55, 171);
/* oklch */ color: oklch(45.6% 0.176 296.1);
Tailwind
colors: {
  custom: {
    50: '#9571c5',
    500: '#6337ab',
    950: '#000000',
  },
}
SCSS
$custom: #6337ab;
$custom-light: #9571c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6337ab",
  "rgb": {
    "r": 99,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 262.759,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45626,
    "c": 0.17553,
    "h": 296.1
  },
  "luminance": 0.08325
}

Semantic roles & 50–950 ramp

primary
#6337AB
secondary
#A7C17C
accent
#DB4DA5
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6337AB

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

Preview Lab → · Contrast checker → · Palette generator →

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