#6337D4#6337D4

#6337D4 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.1% C 0.223 H 288.1°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#6337D4
RGBrgb(99, 55, 212)
HSLhsl(257, 65%, 52%)
HSVhsv(257, 74%, 83%)
CMYKcmyk(53.3%, 74.1%, 0%, 16.9%)
CIE-LABlab(38.09, 56.06, -73.63)
CIE-LCHlch(38.09, 92.55, 307.28°)
OKLaboklab(49.13% 0.069 -0.2118)
OKLCHoklch(49.13% 0.223 288.1)
XYZxyz(18.3919, 10.1376, 63.2622)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6337D4 #A8D437
analogous
#375AD4 #6337D4 #B137D4
triadic
#6337D4 #D46337 #37D463
tetradic
#6337D4 #D4375A #A8D437 #37D4B1
square
#6337D4 #D4375A #A8D437 #37D4B1
split-complementary
#6337D4 #D4B137 #5AD437
monochromatic
#341A77 #4A24A9 #6337D4 #8A69DF #B29CEA

Accessibility & contrast

On white

6.94
#6337D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#6337D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6337D4
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6337D4#FFFFFF#000000##FFFFFF
##6337D41.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD9
Deuteranopia (green-blind)
#0055D1
Tritanopia (blue-blind)
#356283
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6337d4;
/* rgb */ color: rgb(99, 55, 212);
/* oklch */ color: oklch(49.1% 0.223 288.1);
Tailwind
colors: {
  custom: {
    50: '#9b72e2',
    500: '#6337d4',
    950: '#000000',
  },
}
SCSS
$custom: #6337d4;
$custom-light: #9b72e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6337d4",
  "rgb": {
    "r": 99,
    "g": 55,
    "b": 212
  },
  "hsl": {
    "h": 256.815,
    "s": 64.609,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49129,
    "c": 0.22273,
    "h": 288.1
  },
  "luminance": 0.10138
}

Semantic roles & 50–950 ramp

primary
#6337D4
secondary
#C2D691
accent
#E840B9
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #6337D4

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

Preview Lab → · Contrast checker → · Palette generator →

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