#6B49DB#6B49DB

#6B49DB is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 52.8% C 0.211 H 287.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#6B49DB
RGBrgb(107, 73, 219)
HSLhsl(254, 67%, 57%)
HSVhsv(254, 67%, 86%)
CMYKcmyk(51.1%, 66.7%, 0%, 14.1%)
CIE-LABlab(42.77, 50.05, -69.96)
CIE-LCHlch(42.77, 86.02, 305.58°)
OKLaboklab(52.83% 0.0637 -0.2008)
OKLCHoklch(52.83% 0.211 287.6)
XYZxyz(21.2284, 13.0043, 68.3956)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B49DB #B9DB49
analogous
#4970DB #6B49DB #B449DB
triadic
#6B49DB #DB6B49 #49DB6B
tetradic
#6B49DB #DB4970 #B9DB49 #49DBB4
square
#6B49DB #DB4970 #B9DB49 #49DBB4
split-complementary
#6B49DB #DBB449 #70DB49
monochromatic
#361C8E #4A26C1 #6B49DB #957CE5 #BEAFEF

Accessibility & contrast

On white

5.83
#6B49DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#6B49DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B49DB
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B49DB#FFFFFF#000000##FFFFFF
##6B49DB1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DF
Deuteranopia (green-blind)
#0061D8
Tritanopia (blue-blind)
#416E8C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6b49db;
/* rgb */ color: rgb(107, 73, 219);
/* oklch */ color: oklch(52.8% 0.211 287.6);
Tailwind
colors: {
  custom: {
    50: '#9f7ee7',
    500: '#6b49db',
    950: '#000000',
  },
}
SCSS
$custom: #6b49db;
$custom-light: #9f7ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b49db",
  "rgb": {
    "r": 107,
    "g": 73,
    "b": 219
  },
  "hsl": {
    "h": 253.973,
    "s": 66.972,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52826,
    "c": 0.21066,
    "h": 287.6
  },
  "luminance": 0.13005
}

Semantic roles & 50–950 ramp

primary
#6B49DB
secondary
#D0DDA2
accent
#EA3EC2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6B49DB

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

Preview Lab → · Contrast checker → · Palette generator →

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