#6337B1#6337B1

#6337B1 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.1% C 0.183 H 294.7°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#6337B1
RGBrgb(99, 55, 177)
HSLhsl(262, 53%, 45%)
HSVhsv(262, 69%, 69%)
CMYKcmyk(44.1%, 68.9%, 0%, 30.6%)
CIE-LABlab(35.12, 46.48, -58.00)
CIE-LCHlch(35.12, 74.33, 308.71°)
OKLaboklab(46.11% 0.0763 -0.1659)
OKLCHoklch(46.11% 0.183 294.7)
XYZxyz(14.4455, 8.5590, 42.4774)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6337B1 #85B137
analogous
#3748B1 #6337B1 #A037B1
triadic
#6337B1 #B16337 #37B163
tetradic
#6337B1 #B13748 #85B137 #37B1A0
square
#6337B1 #B13748 #85B137 #37B1A0
split-complementary
#6337B1 #B1A037 #48B137
monochromatic
#2F1A54 #492882 #6337B1 #835ACC #A688DA

Accessibility & contrast

On white

7.74
#6337B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6337B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6337B1#FFFFFF#000000##FFFFFF
##6337B11.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B5
Deuteranopia (green-blind)
#0051AF
Tritanopia (blue-blind)
#4D5570
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6337b1;
/* rgb */ color: rgb(99, 55, 177);
/* oklch */ color: oklch(46.1% 0.183 294.7);
Tailwind
colors: {
  custom: {
    50: '#9671c9',
    500: '#6337b1',
    950: '#000000',
  },
}
SCSS
$custom: #6337b1;
$custom-light: #9671c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6337b1",
  "rgb": {
    "r": 99,
    "g": 55,
    "b": 177
  },
  "hsl": {
    "h": 261.639,
    "s": 52.586,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4611,
    "c": 0.1826,
    "h": 294.7
  },
  "luminance": 0.08559
}

Semantic roles & 50–950 ramp

primary
#6337B1
secondary
#ABC480
accent
#DC4CA8
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6337B1

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

Preview Lab → · Contrast checker → · Palette generator →

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