#6337A0#6337A0

#6337A0 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.8% C 0.162 H 298.9°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#6337A0
RGBrgb(99, 55, 160)
HSLhsl(265, 49%, 42%)
HSVhsv(265, 66%, 63%)
CMYKcmyk(38.1%, 65.6%, 0%, 37.3%)
CIE-LABlab(33.82, 41.91, -49.92)
CIE-LCHlch(33.82, 65.18, 310.01°)
OKLaboklab(44.77% 0.0786 -0.1421)
OKLCHoklch(44.77% 0.162 298.9)
XYZxyz(12.8554, 7.9229, 34.1029)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6337A0 #74A037
analogous
#3740A0 #6337A0 #9837A0
triadic
#6337A0 #A06337 #37A063
tetradic
#6337A0 #A03740 #74A037 #37A098
square
#6337A0 #A03740 #74A037 #37A098
split-complementary
#6337A0 #A09837 #40A037
monochromatic
#2B1845 #472772 #6337A0 #8151C3 #A27FD3

Accessibility & contrast

On white

8.13
#6337A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6337A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6337A0
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6337A0#FFFFFF#000000##FFFFFF
##6337A01.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A3
Deuteranopia (green-blind)
#004F9E
Tritanopia (blue-blind)
#554F66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6337a0;
/* rgb */ color: rgb(99, 55, 160);
/* oklch */ color: oklch(44.8% 0.162 298.9);
Tailwind
colors: {
  custom: {
    50: '#9471bd',
    500: '#6337a0',
    950: '#000000',
  },
}
SCSS
$custom: #6337a0;
$custom-light: #9471bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6337a0",
  "rgb": {
    "r": 99,
    "g": 55,
    "b": 160
  },
  "hsl": {
    "h": 265.143,
    "s": 48.837,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44769,
    "c": 0.16241,
    "h": 298.9
  },
  "luminance": 0.07923
}

Semantic roles & 50–950 ramp

primary
#6337A0
secondary
#9FBC77
accent
#D84F9F
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6337A0

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

Preview Lab → · Contrast checker → · Palette generator →

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