#6331D3#6331D3

#6331D3 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.4% C 0.227 H 288.9°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#6331D3
RGBrgb(99, 49, 211)
HSLhsl(259, 65%, 51%)
HSVhsv(259, 77%, 83%)
CMYKcmyk(53.1%, 76.8%, 0%, 17.3%)
CIE-LABlab(37.03, 58.57, -74.80)
CIE-LCHlch(37.03, 95.00, 308.06°)
OKLaboklab(48.36% 0.0737 -0.2151)
OKLCHoklch(48.36% 0.227 288.9)
XYZxyz(17.9983, 9.5516, 62.5107)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6331D3 #A1D331
analogous
#3150D3 #6331D3 #B431D3
triadic
#6331D3 #D36331 #31D363
tetradic
#6331D3 #D33150 #A1D331 #31D3B4
square
#6331D3 #D33150 #A1D331 #31D3B4
split-complementary
#6331D3 #D3B431 #50D331
monochromatic
#341871 #4B23A4 #6331D3 #8963DE #AF96E9

Accessibility & contrast

On white

7.22
#6331D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6331D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6331D3
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6331D3#FFFFFF#000000##FFFFFF
##6331D31.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD8
Deuteranopia (green-blind)
#0053D0
Tritanopia (blue-blind)
#375F81
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6331d3;
/* rgb */ color: rgb(99, 49, 211);
/* oklch */ color: oklch(48.4% 0.227 288.9);
Tailwind
colors: {
  custom: {
    50: '#9b6fe2',
    500: '#6331d3',
    950: '#000000',
  },
}
SCSS
$custom: #6331d3;
$custom-light: #9b6fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#6331d3",
  "rgb": {
    "r": 99,
    "g": 49,
    "b": 211
  },
  "hsl": {
    "h": 258.519,
    "s": 64.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48356,
    "c": 0.2274,
    "h": 288.9
  },
  "luminance": 0.09552
}

Semantic roles & 50–950 ramp

primary
#6331D3
secondary
#BED48C
accent
#E840B4
background
#FAF6FE
surface
#F4ECFC
border
#CEC7D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #6331D3

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

Preview Lab → · Contrast checker → · Palette generator →

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