#6331CA#6331CA

#6331CA is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.5% C 0.218 H 290.5°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#6331CA
RGBrgb(99, 49, 202)
HSLhsl(260, 61%, 49%)
HSVhsv(260, 76%, 79%)
CMYKcmyk(51%, 75.7%, 0%, 20.8%)
CIE-LABlab(36.20, 56.17, -70.94)
CIE-LCHlch(36.20, 90.48, 308.37°)
OKLaboklab(47.53% 0.0762 -0.2038)
OKLCHoklch(47.53% 0.218 290.5)
XYZxyz(16.9015, 9.1128, 56.7341)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6331CA #98CA31
analogous
#314CCA #6331CA #B031CA
triadic
#6331CA #CA6331 #31CA63
tetradic
#6331CA #CA314C #98CA31 #31CAB0
square
#6331CA #CA314C #98CA31 #31CAB0
split-complementary
#6331CA #CAB031 #4CCA31
monochromatic
#331967 #4B2599 #6331CA #8760D8 #AC91E4

Accessibility & contrast

On white

7.44
#6331CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6331CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6331CA
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6331CA#FFFFFF#000000##FFFFFF
##6331CA1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#0052C7
Tritanopia (blue-blind)
#3E5C7C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6331ca;
/* rgb */ color: rgb(99, 49, 202);
/* oklch */ color: oklch(47.5% 0.218 290.5);
Tailwind
colors: {
  custom: {
    50: '#9a6fdb',
    500: '#6331ca',
    950: '#000000',
  },
}
SCSS
$custom: #6331ca;
$custom-light: #9a6fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6331ca",
  "rgb": {
    "r": 99,
    "g": 49,
    "b": 202
  },
  "hsl": {
    "h": 259.608,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47529,
    "c": 0.21759,
    "h": 290.5
  },
  "luminance": 0.09114
}

Semantic roles & 50–950 ramp

primary
#6331CA
secondary
#B8CF88
accent
#E444B0
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6331CA

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

Preview Lab → · Contrast checker → · Palette generator →

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