#6331A9#6331A9

#6331A9 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.7% C 0.181 H 297.6°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#6331A9
RGBrgb(99, 49, 169)
HSLhsl(265, 55%, 43%)
HSVhsv(265, 71%, 66%)
CMYKcmyk(41.4%, 71%, 0%, 33.7%)
CIE-LABlab(33.38, 47.41, -56.06)
CIE-LCHlch(33.38, 73.42, 310.22°)
OKLaboklab(44.67% 0.0838 -0.1601)
OKLCHoklch(44.67% 0.181 297.6)
XYZxyz(13.4035, 7.7136, 38.3111)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6331A9 #77A931
analogous
#313BA9 #6331A9 #9F31A9
triadic
#6331A9 #A96331 #31A963
tetradic
#6331A9 #A9313B #77A931 #31A99F
square
#6331A9 #A9313B #77A931 #31A99F
split-complementary
#6331A9 #A99F31 #3BA931
monochromatic
#2B154A #47237A #6331A9 #814CCB #A27CD9

Accessibility & contrast

On white

8.26
#6331A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6331A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6331A9
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6331A9#FFFFFF#000000##FFFFFF
##6331A91.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAD
Deuteranopia (green-blind)
#004DA7
Tritanopia (blue-blind)
#524F69
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6331a9;
/* rgb */ color: rgb(99, 49, 169);
/* oklch */ color: oklch(44.7% 0.181 297.6);
Tailwind
colors: {
  custom: {
    50: '#956dc3',
    500: '#6331a9',
    950: '#000000',
  },
}
SCSS
$custom: #6331a9;
$custom-light: #956dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#6331a9",
  "rgb": {
    "r": 99,
    "g": 49,
    "b": 169
  },
  "hsl": {
    "h": 265,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44669,
    "c": 0.18074,
    "h": 297.6
  },
  "luminance": 0.07714
}

Semantic roles & 50–950 ramp

primary
#6331A9
secondary
#A1C174
accent
#DE49A0
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6331A9

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

Preview Lab → · Contrast checker → · Palette generator →

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