#6337C4#6337C4

#6337C4 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.7% C 0.205 H 290.8°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#6337C4
RGBrgb(99, 55, 196)
HSLhsl(259, 56%, 49%)
HSVhsv(259, 72%, 77%)
CMYKcmyk(49.5%, 71.9%, 0%, 23.1%)
CIE-LABlab(36.69, 51.67, -66.64)
CIE-LCHlch(36.69, 84.33, 307.79°)
OKLaboklab(47.71% 0.0727 -0.1913)
OKLCHoklch(47.71% 0.205 290.8)
XYZxyz(16.4727, 9.3699, 53.1545)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6337C4 #98C437
analogous
#3752C4 #6337C4 #A937C4
triadic
#6337C4 #C46337 #37C463
tetradic
#6337C4 #C43752 #98C437 #37C4A9
square
#6337C4 #C43752 #98C437 #37C4A9
split-complementary
#6337C4 #C4A937 #52C437
monochromatic
#331C64 #4B2A94 #6337C4 #8765D4 #AC94E1

Accessibility & contrast

On white

7.31
#6337C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6337C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6337C4
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6337C4#FFFFFF#000000##FFFFFF
##6337C41.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C8
Deuteranopia (green-blind)
#0053C1
Tritanopia (blue-blind)
#425C7A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6337c4;
/* rgb */ color: rgb(99, 55, 196);
/* oklch */ color: oklch(47.7% 0.205 290.8);
Tailwind
colors: {
  custom: {
    50: '#9872d7',
    500: '#6337c4',
    950: '#000000',
  },
}
SCSS
$custom: #6337c4;
$custom-light: #9872d7;
$custom-dark: #000000;
JSON
{
  "hex": "#6337c4",
  "rgb": {
    "r": 99,
    "g": 55,
    "b": 196
  },
  "hsl": {
    "h": 258.723,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47711,
    "c": 0.20462,
    "h": 290.8
  },
  "luminance": 0.09371
}

Semantic roles & 50–950 ramp

primary
#6337C4
secondary
#B8CC8B
accent
#DF48B0
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #6337C4

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

Preview Lab → · Contrast checker → · Palette generator →

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