#6337A8#6337A8

#6337A8 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.4% C 0.172 H 296.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#6337A8
RGBrgb(99, 55, 168)
HSLhsl(263, 51%, 44%)
HSVhsv(263, 67%, 66%)
CMYKcmyk(41.1%, 67.3%, 0%, 34.1%)
CIE-LABlab(34.42, 44.05, -53.77)
CIE-LCHlch(34.42, 69.51, 309.33°)
OKLaboklab(45.39% 0.0777 -0.1534)
OKLCHoklch(45.39% 0.172 296.8)
XYZxyz(13.5778, 8.2119, 37.9079)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6337A8 #7CA837
analogous
#3743A8 #6337A8 #9B37A8
triadic
#6337A8 #A86337 #37A863
tetradic
#6337A8 #A83743 #7CA837 #37A89B
square
#6337A8 #A83743 #7CA837 #37A89B
split-complementary
#6337A8 #A89B37 #43A837
monochromatic
#2D194C #48287A #6337A8 #8155C7 #A383D6

Accessibility & contrast

On white

7.95
#6337A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6337A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6337A8
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6337A8#FFFFFF#000000##FFFFFF
##6337A81.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AB
Deuteranopia (green-blind)
#0050A6
Tritanopia (blue-blind)
#52526B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6337a8;
/* rgb */ color: rgb(99, 55, 168);
/* oklch */ color: oklch(45.4% 0.172 296.8);
Tailwind
colors: {
  custom: {
    50: '#9571c3',
    500: '#6337a8',
    950: '#000000',
  },
}
SCSS
$custom: #6337a8;
$custom-light: #9571c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6337a8",
  "rgb": {
    "r": 99,
    "g": 55,
    "b": 168
  },
  "hsl": {
    "h": 263.363,
    "s": 50.673,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45389,
    "c": 0.17197,
    "h": 296.8
  },
  "luminance": 0.08212
}

Semantic roles & 50–950 ramp

primary
#6337A8
secondary
#A5C07B
accent
#DA4EA3
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6337A8

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

Preview Lab → · Contrast checker → · Palette generator →

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