#6331A6#6331A6

#6331A6 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.4% C 0.177 H 298.4°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#6331A6
RGBrgb(99, 49, 166)
HSLhsl(266, 54%, 42%)
HSVhsv(266, 70%, 65%)
CMYKcmyk(40.4%, 70.5%, 0%, 34.9%)
CIE-LABlab(33.14, 46.63, -54.64)
CIE-LCHlch(33.14, 71.83, 310.47°)
OKLaboklab(44.42% 0.0843 -0.156)
OKLCHoklch(44.42% 0.177 298.4)
XYZxyz(13.1251, 7.6023, 36.8449)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6331A6 #74A631
analogous
#3139A6 #6331A6 #9E31A6
triadic
#6331A6 #A66331 #31A663
tetradic
#6331A6 #A63139 #74A631 #31A69E
square
#6331A6 #A63139 #74A631 #31A69E
split-complementary
#6331A6 #A69E31 #39A631
monochromatic
#2B1547 #472377 #6331A6 #814ACA #A27AD8

Accessibility & contrast

On white

8.33
#6331A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6331A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6331A6
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6331A6#FFFFFF#000000##FFFFFF
##6331A61.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA9
Deuteranopia (green-blind)
#004DA4
Tritanopia (blue-blind)
#534D68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6331a6;
/* rgb */ color: rgb(99, 49, 166);
/* oklch */ color: oklch(44.4% 0.177 298.4);
Tailwind
colors: {
  custom: {
    50: '#956dc1',
    500: '#6331a6',
    950: '#000000',
  },
}
SCSS
$custom: #6331a6;
$custom-light: #956dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#6331a6",
  "rgb": {
    "r": 99,
    "g": 49,
    "b": 166
  },
  "hsl": {
    "h": 265.641,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44424,
    "c": 0.17733,
    "h": 298.4
  },
  "luminance": 0.07602
}

Semantic roles & 50–950 ramp

primary
#6331A6
secondary
#9FC073
accent
#DE4A9F
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6331A6

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

Preview Lab → · Contrast checker → · Palette generator →

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