#6331A3#6331A3

#6331A3 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.2% C 0.174 H 299.2°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#6331A3
RGBrgb(99, 49, 163)
HSLhsl(266, 54%, 42%)
HSVhsv(266, 70%, 64%)
CMYKcmyk(39.3%, 69.9%, 0%, 36.1%)
CIE-LABlab(32.91, 45.84, -53.22)
CIE-LCHlch(32.91, 70.24, 310.74°)
OKLaboklab(44.18% 0.0848 -0.1518)
OKLCHoklch(44.18% 0.174 299.2)
XYZxyz(12.8531, 7.4935, 35.4124)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6331A3 #71A331
analogous
#3138A3 #6331A3 #9C31A3
triadic
#6331A3 #A36331 #31A363
tetradic
#6331A3 #A33138 #71A331 #31A39C
square
#6331A3 #A33138 #71A331 #31A39C
split-complementary
#6331A3 #A39C31 #38A331
monochromatic
#2A1545 #462374 #6331A3 #8149C8 #A178D6

Accessibility & contrast

On white

8.40
#6331A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6331A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6331A3
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6331A3#FFFFFF#000000##FFFFFF
##6331A31.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#004CA1
Tritanopia (blue-blind)
#544C66
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6331a3;
/* rgb */ color: rgb(99, 49, 163);
/* oklch */ color: oklch(44.2% 0.174 299.2);
Tailwind
colors: {
  custom: {
    50: '#956dbf',
    500: '#6331a3',
    950: '#000000',
  },
}
SCSS
$custom: #6331a3;
$custom-light: #956dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#6331a3",
  "rgb": {
    "r": 99,
    "g": 49,
    "b": 163
  },
  "hsl": {
    "h": 266.316,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44182,
    "c": 0.1739,
    "h": 299.2
  },
  "luminance": 0.07494
}

Semantic roles & 50–950 ramp

primary
#6331A3
secondary
#9DBF71
accent
#DD4B9D
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6331A3

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

Preview Lab → · Contrast checker → · Palette generator →

#6331A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva