#6331BC#6331BC

#6331BC is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.3% C 0.202 H 293.2°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#6331BC
RGBrgb(99, 49, 188)
HSLhsl(262, 59%, 46%)
HSVhsv(262, 74%, 74%)
CMYKcmyk(47.3%, 73.9%, 0%, 26.3%)
CIE-LABlab(34.96, 52.44, -64.77)
CIE-LCHlch(34.96, 83.33, 308.99°)
OKLaboklab(46.28% 0.0797 -0.1857)
OKLCHoklch(46.28% 0.202 293.2)
XYZxyz(15.3185, 8.4796, 48.3968)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6331BC #8ABC31
analogous
#3144BC #6331BC #A931BC
triadic
#6331BC #BC6331 #31BC63
tetradic
#6331BC #BC3144 #8ABC31 #31BCA9
square
#6331BC #BC3144 #8ABC31 #31BCA9
split-complementary
#6331BC #BCA931 #44BC31
monochromatic
#30185B #49248B #6331BC #8457D3 #A788E0

Accessibility & contrast

On white

7.79
#6331BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6331BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6331BC
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6331BC#FFFFFF#000000##FFFFFF
##6331BC1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#0050B9
Tritanopia (blue-blind)
#485674
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6331bc;
/* rgb */ color: rgb(99, 49, 188);
/* oklch */ color: oklch(46.3% 0.202 293.2);
Tailwind
colors: {
  custom: {
    50: '#986ed1',
    500: '#6331bc',
    950: '#000000',
  },
}
SCSS
$custom: #6331bc;
$custom-light: #986ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#6331bc",
  "rgb": {
    "r": 99,
    "g": 49,
    "b": 188
  },
  "hsl": {
    "h": 261.583,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4628,
    "c": 0.20212,
    "h": 293.2
  },
  "luminance": 0.0848
}

Semantic roles & 50–950 ramp

primary
#6331BC
secondary
#AFCA7F
accent
#E246AA
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0F0714
muted
#7E7A83

Preview Lab

Preview with #6331BC

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

Preview Lab → · Contrast checker → · Palette generator →

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