#6337C3#6337C3

#6337C3 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.6% C 0.203 H 291.0°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#6337C3
RGBrgb(99, 55, 195)
HSLhsl(259, 56%, 49%)
HSVhsv(259, 72%, 76%)
CMYKcmyk(49.2%, 71.8%, 0%, 23.5%)
CIE-LABlab(36.60, 51.40, -66.19)
CIE-LCHlch(36.60, 83.81, 307.83°)
OKLaboklab(47.62% 0.073 -0.1899)
OKLCHoklch(47.62% 0.203 291)
XYZxyz(16.3593, 9.3245, 52.5570)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6337C3 #97C337
analogous
#3751C3 #6337C3 #A937C3
triadic
#6337C3 #C36337 #37C363
tetradic
#6337C3 #C33751 #97C337 #37C3A9
square
#6337C3 #C33751 #97C337 #37C3A9
split-complementary
#6337C3 #C3A937 #51C337
monochromatic
#331C64 #4B2A93 #6337C3 #8764D3 #AC94E1

Accessibility & contrast

On white

7.33
#6337C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6337C3
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6337C3#FFFFFF#000000##FFFFFF
##6337C31.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C7
Deuteranopia (green-blind)
#0053C0
Tritanopia (blue-blind)
#435C79
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6337c3;
/* rgb */ color: rgb(99, 55, 195);
/* oklch */ color: oklch(47.6% 0.203 291.0);
Tailwind
colors: {
  custom: {
    50: '#9872d6',
    500: '#6337c3',
    950: '#000000',
  },
}
SCSS
$custom: #6337c3;
$custom-light: #9872d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6337c3",
  "rgb": {
    "r": 99,
    "g": 55,
    "b": 195
  },
  "hsl": {
    "h": 258.857,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47624,
    "c": 0.20348,
    "h": 291
  },
  "luminance": 0.09325
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6337C3

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

Preview Lab → · Contrast checker → · Palette generator →

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