#6331A0#6331A0

#6331A0 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.9% C 0.170 H 300.0°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#6331A0
RGBrgb(99, 49, 160)
HSLhsl(267, 53%, 41%)
HSVhsv(267, 69%, 63%)
CMYKcmyk(38.1%, 69.4%, 0%, 37.3%)
CIE-LABlab(32.67, 45.07, -51.79)
CIE-LCHlch(32.67, 68.65, 311.03°)
OKLaboklab(43.94% 0.0853 -0.1476)
OKLCHoklch(43.94% 0.17 300)
XYZxyz(12.5875, 7.3872, 34.0136)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6331A0 #6EA031
analogous
#3136A0 #6331A0 #9A31A0
triadic
#6331A0 #A06331 #31A063
tetradic
#6331A0 #A03136 #6EA031 #31A09A
square
#6331A0 #A03136 #6EA031 #31A09A
split-complementary
#6331A0 #A09A31 #36A031
monochromatic
#291442 #462371 #6331A0 #8147C7 #A176D5

Accessibility & contrast

On white

8.48
#6331A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6331A0
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6331A0#FFFFFF#000000##FFFFFF
##6331A01.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA3
Deuteranopia (green-blind)
#004C9E
Tritanopia (blue-blind)
#554B64
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6331a0;
/* rgb */ color: rgb(99, 49, 160);
/* oklch */ color: oklch(43.9% 0.170 300.0);
Tailwind
colors: {
  custom: {
    50: '#956dbd',
    500: '#6331a0',
    950: '#000000',
  },
}
SCSS
$custom: #6331a0;
$custom-light: #956dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#6331a0",
  "rgb": {
    "r": 99,
    "g": 49,
    "b": 160
  },
  "hsl": {
    "h": 267.027,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43943,
    "c": 0.17047,
    "h": 300
  },
  "luminance": 0.07387
}

Semantic roles & 50–950 ramp

primary
#6331A0
secondary
#9ABD70
accent
#DD4B9B
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6331A0

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

Preview Lab → · Contrast checker → · Palette generator →

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