#6331A1#6331A1

#6331A1 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.0% C 0.172 H 299.7°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#6331A1
RGBrgb(99, 49, 161)
HSLhsl(267, 53%, 41%)
HSVhsv(267, 70%, 63%)
CMYKcmyk(38.5%, 69.6%, 0%, 36.9%)
CIE-LABlab(32.75, 45.32, -52.27)
CIE-LCHlch(32.75, 69.18, 310.93°)
OKLaboklab(44.02% 0.0851 -0.149)
OKLCHoklch(44.02% 0.172 299.7)
XYZxyz(12.6753, 7.4224, 34.4762)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6331A1 #6FA131
analogous
#3137A1 #6331A1 #9B31A1
triadic
#6331A1 #A16331 #31A163
tetradic
#6331A1 #A13137 #6FA131 #31A19B
square
#6331A1 #A13137 #6FA131 #31A19B
split-complementary
#6331A1 #A19B31 #37A131
monochromatic
#291443 #462372 #6331A1 #8148C7 #A177D6

Accessibility & contrast

On white

8.45
#6331A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6331A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6331A1
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6331A1#FFFFFF#000000##FFFFFF
##6331A11.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#004C9F
Tritanopia (blue-blind)
#554C65
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6331a1;
/* rgb */ color: rgb(99, 49, 161);
/* oklch */ color: oklch(44.0% 0.172 299.7);
Tailwind
colors: {
  custom: {
    50: '#956dbe',
    500: '#6331a1',
    950: '#000000',
  },
}
SCSS
$custom: #6331a1;
$custom-light: #956dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6331a1",
  "rgb": {
    "r": 99,
    "g": 49,
    "b": 161
  },
  "hsl": {
    "h": 266.786,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44023,
    "c": 0.17162,
    "h": 299.7
  },
  "luminance": 0.07422
}

Semantic roles & 50–950 ramp

primary
#6331A1
secondary
#9BBE70
accent
#DD4B9C
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6331A1

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

Preview Lab → · Contrast checker → · Palette generator →

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