#6331BD#6331BD

#6331BD is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.4% C 0.203 H 293.0°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#6331BD
RGBrgb(99, 49, 189)
HSLhsl(261, 59%, 47%)
HSVhsv(261, 74%, 74%)
CMYKcmyk(47.6%, 74.1%, 0%, 25.9%)
CIE-LABlab(35.05, 52.70, -65.21)
CIE-LCHlch(35.05, 83.85, 308.94°)
OKLaboklab(46.37% 0.0795 -0.187)
OKLCHoklch(46.37% 0.203 293)
XYZxyz(15.4267, 8.5229, 48.9665)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6331BD #8BBD31
analogous
#3145BD #6331BD #A931BD
triadic
#6331BD #BD6331 #31BD63
tetradic
#6331BD #BD3145 #8BBD31 #31BDA9
square
#6331BD #BD3145 #8BBD31 #31BDA9
split-complementary
#6331BD #BDA931 #45BD31
monochromatic
#30185C #4A248C #6331BD #8458D4 #A888E0

Accessibility & contrast

On white

7.76
#6331BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6331BD
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6331BD#FFFFFF#000000##FFFFFF
##6331BD1.007.762.707.76
#FFFFFF7.761.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#0050BA
Tritanopia (blue-blind)
#475675
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6331bd;
/* rgb */ color: rgb(99, 49, 189);
/* oklch */ color: oklch(46.4% 0.203 293.0);
Tailwind
colors: {
  custom: {
    50: '#986ed2',
    500: '#6331bd',
    950: '#000000',
  },
}
SCSS
$custom: #6331bd;
$custom-light: #986ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#6331bd",
  "rgb": {
    "r": 99,
    "g": 49,
    "b": 189
  },
  "hsl": {
    "h": 261.429,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46368,
    "c": 0.20323,
    "h": 293
  },
  "luminance": 0.08523
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6331BD

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

Preview Lab → · Contrast checker → · Palette generator →

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