#6331B9#6331B9

#6331B9 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.0% C 0.199 H 293.9°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#6331B9
RGBrgb(99, 49, 185)
HSLhsl(262, 58%, 46%)
HSVhsv(262, 74%, 73%)
CMYKcmyk(46.5%, 73.5%, 0%, 27.5%)
CIE-LABlab(34.70, 51.64, -63.42)
CIE-LCHlch(34.70, 81.78, 309.15°)
OKLaboklab(46.02% 0.0804 -0.1818)
OKLCHoklch(46.02% 0.199 293.9)
XYZxyz(14.9985, 8.3516, 46.7113)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6331B9 #87B931
analogous
#3143B9 #6331B9 #A731B9
triadic
#6331B9 #B96331 #31B963
tetradic
#6331B9 #B93143 #87B931 #31B9A7
square
#6331B9 #B93143 #87B931 #31B9A7
split-complementary
#6331B9 #B9A731 #43B931
monochromatic
#2F1758 #492489 #6331B9 #8355D2 #A686DF

Accessibility & contrast

On white

7.86
#6331B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6331B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6331B9
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6331B9#FFFFFF#000000##FFFFFF
##6331B91.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#004FB6
Tritanopia (blue-blind)
#4A5572
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6331b9;
/* rgb */ color: rgb(99, 49, 185);
/* oklch */ color: oklch(46.0% 0.199 293.9);
Tailwind
colors: {
  custom: {
    50: '#976ecf',
    500: '#6331b9',
    950: '#000000',
  },
}
SCSS
$custom: #6331b9;
$custom-light: #976ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#6331b9",
  "rgb": {
    "r": 99,
    "g": 49,
    "b": 185
  },
  "hsl": {
    "h": 262.059,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46019,
    "c": 0.19877,
    "h": 293.9
  },
  "luminance": 0.08352
}

Semantic roles & 50–950 ramp

primary
#6331B9
secondary
#ADC87D
accent
#E146A8
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #6331B9

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

Preview Lab → · Contrast checker → · Palette generator →

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