#6331F7#6331F7

#6331F7 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.8% C 0.266 H 283.7°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#6331F7
RGBrgb(99, 49, 247)
HSLhsl(255, 93%, 58%)
HSVhsv(255, 80%, 97%)
CMYKcmyk(59.9%, 80.2%, 0%, 3.1%)
CIE-LABlab(40.51, 68.11, -89.56)
CIE-LCHlch(40.51, 112.52, 307.25°)
OKLaboklab(51.82% 0.0628 -0.2582)
OKLCHoklch(51.82% 0.266 283.7)
XYZxyz(23.0272, 11.5631, 88.9961)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6331F7 #C5F731
analogous
#3162F7 #6331F7 #C631F7
triadic
#6331F7 #F76331 #31F763
tetradic
#6331F7 #F73162 #C5F731 #31F7C6
square
#6331F7 #F73162 #C5F731 #31F7C6
split-complementary
#6331F7 #F7C631 #62F731
monochromatic
#2F06A7 #4009E2 #6331F7 #906CF9 #BCA7FC

Accessibility & contrast

On white

6.34
#6331F7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6331F7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6331F7
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6331F7#FFFFFF#000000##FFFFFF
##6331F71.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065FC
Deuteranopia (green-blind)
#0059F4
Tritanopia (blue-blind)
#006E96
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6331f7;
/* rgb */ color: rgb(99, 49, 247);
/* oklch */ color: oklch(51.8% 0.266 283.7);
Tailwind
colors: {
  custom: {
    50: '#a071fb',
    500: '#6331f7',
    950: '#000000',
  },
}
SCSS
$custom: #6331f7;
$custom-light: #a071fb;
$custom-dark: #000000;
JSON
{
  "hex": "#6331f7",
  "rgb": {
    "r": 99,
    "g": 49,
    "b": 247
  },
  "hsl": {
    "h": 255.152,
    "s": 92.523,
    "l": 58.039
  },
  "oklch": {
    "l": 0.51819,
    "c": 0.26575,
    "h": 283.7
  },
  "luminance": 0.11565
}

Semantic roles & 50–950 ramp

primary
#6331F7
secondary
#D5E99A
accent
#FF29C9
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#110818
muted
#807B86

Preview Lab

Preview with #6331F7

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

Preview Lab → · Contrast checker → · Palette generator →

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