#6337A9#6337A9

#6337A9 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.5% C 0.173 H 296.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#6337A9
RGBrgb(99, 55, 169)
HSLhsl(263, 51%, 44%)
HSVhsv(263, 67%, 66%)
CMYKcmyk(41.4%, 67.5%, 0%, 33.7%)
CIE-LABlab(34.50, 44.32, -54.24)
CIE-LCHlch(34.50, 70.04, 309.25°)
OKLaboklab(45.47% 0.0775 -0.1548)
OKLCHoklch(45.47% 0.173 296.6)
XYZxyz(13.6713, 8.2493, 38.4004)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6337A9 #7DA937
analogous
#3744A9 #6337A9 #9C37A9
triadic
#6337A9 #A96337 #37A963
tetradic
#6337A9 #A93744 #7DA937 #37A99C
square
#6337A9 #A93744 #7DA937 #37A99C
split-complementary
#6337A9 #A99C37 #44A937
monochromatic
#2D194D #48287B #6337A9 #8255C8 #A484D7

Accessibility & contrast

On white

7.92
#6337A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6337A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6337A9
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6337A9#FFFFFF#000000##FFFFFF
##6337A91.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AC
Deuteranopia (green-blind)
#0050A7
Tritanopia (blue-blind)
#51526B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6337a9;
/* rgb */ color: rgb(99, 55, 169);
/* oklch */ color: oklch(45.5% 0.173 296.6);
Tailwind
colors: {
  custom: {
    50: '#9571c3',
    500: '#6337a9',
    950: '#000000',
  },
}
SCSS
$custom: #6337a9;
$custom-light: #9571c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6337a9",
  "rgb": {
    "r": 99,
    "g": 55,
    "b": 169
  },
  "hsl": {
    "h": 263.158,
    "s": 50.893,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45468,
    "c": 0.17316,
    "h": 296.6
  },
  "luminance": 0.0825
}

Semantic roles & 50–950 ramp

primary
#6337A9
secondary
#A6C07B
accent
#DA4DA4
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6337A9

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

Preview Lab → · Contrast checker → · Palette generator →

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