#6331B0#6331B0

#6331B0 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.189 H 295.9°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#6331B0
RGBrgb(99, 49, 176)
HSLhsl(264, 56%, 44%)
HSVhsv(264, 72%, 69%)
CMYKcmyk(43.8%, 72.2%, 0%, 31%)
CIE-LABlab(33.95, 49.25, -59.31)
CIE-LCHlch(33.95, 77.10, 309.71°)
OKLaboklab(45.25% 0.0824 -0.1697)
OKLCHoklch(45.25% 0.189 295.9)
XYZxyz(14.0783, 7.9835, 41.8651)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6331B0 #7EB031
analogous
#313FB0 #6331B0 #A331B0
triadic
#6331B0 #B06331 #31B063
tetradic
#6331B0 #B0313F #7EB031 #31B0A3
square
#6331B0 #B0313F #7EB031 #31B0A3
split-complementary
#6331B0 #B0A331 #3FB031
monochromatic
#2D1650 #482480 #6331B0 #8250CE #A480DC

Accessibility & contrast

On white

8.09
#6331B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6331B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6331B0
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6331B0#FFFFFF#000000##FFFFFF
##6331B01.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B4
Deuteranopia (green-blind)
#004EAD
Tritanopia (blue-blind)
#4E516D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6331b0;
/* rgb */ color: rgb(99, 49, 176);
/* oklch */ color: oklch(45.3% 0.189 295.9);
Tailwind
colors: {
  custom: {
    50: '#966ec9',
    500: '#6331b0',
    950: '#000000',
  },
}
SCSS
$custom: #6331b0;
$custom-light: #966ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#6331b0",
  "rgb": {
    "r": 99,
    "g": 49,
    "b": 176
  },
  "hsl": {
    "h": 263.622,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4525,
    "c": 0.18867,
    "h": 295.9
  },
  "luminance": 0.07984
}

Semantic roles & 50–950 ramp

primary
#6331B0
secondary
#A7C578
accent
#E048A4
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6331B0

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

Preview Lab → · Contrast checker → · Palette generator →

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