#6337AF#6337AF

#6337AF is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.9% C 0.180 H 295.2°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#6337AF
RGBrgb(99, 55, 175)
HSLhsl(262, 52%, 45%)
HSVhsv(262, 69%, 69%)
CMYKcmyk(43.4%, 68.6%, 0%, 31.4%)
CIE-LABlab(34.96, 45.94, -57.07)
CIE-LCHlch(34.96, 73.26, 308.83°)
OKLaboklab(45.95% 0.0767 -0.1631)
OKLCHoklch(45.95% 0.18 295.2)
XYZxyz(14.2476, 8.4798, 41.4352)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6337AF #83AF37
analogous
#3747AF #6337AF #9F37AF
triadic
#6337AF #AF6337 #37AF63
tetradic
#6337AF #AF3747 #83AF37 #37AF9F
square
#6337AF #AF3747 #83AF37 #37AF9F
split-complementary
#6337AF #AF9F37 #47AF37
monochromatic
#2E1A52 #492880 #6337AF #8259CB #A587D9

Accessibility & contrast

On white

7.79
#6337AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6337AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6337AF
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6337AF#FFFFFF#000000##FFFFFF
##6337AF1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#4E546E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6337af;
/* rgb */ color: rgb(99, 55, 175);
/* oklch */ color: oklch(45.9% 0.180 295.2);
Tailwind
colors: {
  custom: {
    50: '#9671c8',
    500: '#6337af',
    950: '#000000',
  },
}
SCSS
$custom: #6337af;
$custom-light: #9671c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6337af",
  "rgb": {
    "r": 99,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 262,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45948,
    "c": 0.18025,
    "h": 295.2
  },
  "luminance": 0.0848
}

Semantic roles & 50–950 ramp

primary
#6337AF
secondary
#AAC37F
accent
#DC4CA7
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6337AF

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

Preview Lab → · Contrast checker → · Palette generator →

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