#6B3FDB#6B3FDB

#6B3FDB is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.5% C 0.222 H 289.1°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#6B3FDB
RGBrgb(107, 63, 219)
HSLhsl(257, 68%, 55%)
HSVhsv(257, 71%, 86%)
CMYKcmyk(51.1%, 71.2%, 0%, 14.1%)
CIE-LABlab(40.89, 55.25, -73.03)
CIE-LCHlch(40.89, 91.58, 307.11°)
OKLaboklab(51.48% 0.0725 -0.2098)
OKLCHoklch(51.48% 0.222 289.1)
XYZxyz(20.6234, 11.7943, 68.1940)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3FDB #AFDB3F
analogous
#3F61DB #6B3FDB #B93FDB
triadic
#6B3FDB #DB6B3F #3FDB6B
tetradic
#6B3FDB #DB3F61 #AFDB3F #3FDBB9
square
#6B3FDB #DB3F61 #AFDB3F #3FDBB9
split-complementary
#6B3FDB #DBB93F #61DB3F
monochromatic
#381986 #4D23BA #6B3FDB #9373E5 #BAA6EE

Accessibility & contrast

On white

6.25
#6B3FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6B3FDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B3FDB
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3FDB#FFFFFF#000000##FFFFFF
##6B3FDB1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E0
Deuteranopia (green-blind)
#005CD8
Tritanopia (blue-blind)
#426889
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6b3fdb;
/* rgb */ color: rgb(107, 63, 219);
/* oklch */ color: oklch(51.5% 0.222 289.1);
Tailwind
colors: {
  custom: {
    50: '#a078e7',
    500: '#6b3fdb',
    950: '#000000',
  },
}
SCSS
$custom: #6b3fdb;
$custom-light: #a078e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3fdb",
  "rgb": {
    "r": 107,
    "g": 63,
    "b": 219
  },
  "hsl": {
    "h": 256.923,
    "s": 68.421,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51482,
    "c": 0.22197,
    "h": 289.1
  },
  "luminance": 0.11795
}

Semantic roles & 50–950 ramp

primary
#6B3FDB
secondary
#C9DC9A
accent
#EB3DBA
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6B3FDB

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

Preview Lab → · Contrast checker → · Palette generator →

#6B3FDB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva