#6337C2#6337C2

#6337C2 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.5% C 0.202 H 291.2°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#6337C2
RGBrgb(99, 55, 194)
HSLhsl(259, 56%, 49%)
HSVhsv(259, 72%, 76%)
CMYKcmyk(49%, 71.6%, 0%, 23.9%)
CIE-LABlab(36.52, 51.12, -65.75)
CIE-LCHlch(36.52, 83.28, 307.87°)
OKLaboklab(47.54% 0.0732 -0.1886)
OKLCHoklch(47.54% 0.202 291.2)
XYZxyz(16.2466, 9.2794, 51.9636)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6337C2 #96C237
analogous
#3751C2 #6337C2 #A937C2
triadic
#6337C2 #C26337 #37C263
tetradic
#6337C2 #C23751 #96C237 #37C2A9
square
#6337C2 #C23751 #96C237 #37C2A9
split-complementary
#6337C2 #C2A937 #51C237
monochromatic
#321C63 #4B2992 #6337C2 #8763D3 #AC93E0

Accessibility & contrast

On white

7.35
#6337C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6337C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6337C2
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6337C2#FFFFFF#000000##FFFFFF
##6337C21.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#0053BF
Tritanopia (blue-blind)
#445B79
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6337c2;
/* rgb */ color: rgb(99, 55, 194);
/* oklch */ color: oklch(47.5% 0.202 291.2);
Tailwind
colors: {
  custom: {
    50: '#9872d6',
    500: '#6337c2',
    950: '#000000',
  },
}
SCSS
$custom: #6337c2;
$custom-light: #9872d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6337c2",
  "rgb": {
    "r": 99,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 258.993,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47538,
    "c": 0.20233,
    "h": 291.2
  },
  "luminance": 0.0928
}

Semantic roles & 50–950 ramp

primary
#6337C2
secondary
#B7CB89
accent
#DF49B0
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6337C2

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

Preview Lab → · Contrast checker → · Palette generator →

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