#6D41DB#6D41DB

#6D41DB is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.9% C 0.220 H 289.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#6D41DB
RGBrgb(109, 65, 219)
HSLhsl(257, 68%, 56%)
HSVhsv(257, 70%, 86%)
CMYKcmyk(50.2%, 70.3%, 0%, 14.1%)
CIE-LABlab(41.45, 54.56, -72.11)
CIE-LCHlch(41.45, 90.43, 307.11°)
OKLaboklab(51.93% 0.0736 -0.207)
OKLCHoklch(51.93% 0.22 289.6)
XYZxyz(20.9795, 12.1454, 68.2430)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D41DB #AFDB41
analogous
#4162DB #6D41DB #BA41DB
triadic
#6D41DB #DB6D41 #41DB6D
tetradic
#6D41DB #DB4162 #AFDB41 #41DBBA
square
#6D41DB #DB4162 #AFDB41 #41DBBA
split-complementary
#6D41DB #DBBA41 #62DB41
monochromatic
#391A88 #4F23BB #6D41DB #9574E5 #BCA8EE

Accessibility & contrast

On white

6.12
#6D41DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6D41DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D41DB
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D41DB#FFFFFF#000000##FFFFFF
##6D41DB1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E0
Deuteranopia (green-blind)
#005ED8
Tritanopia (blue-blind)
#46698A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6d41db;
/* rgb */ color: rgb(109, 65, 219);
/* oklch */ color: oklch(51.9% 0.220 289.6);
Tailwind
colors: {
  custom: {
    50: '#a179e7',
    500: '#6d41db',
    950: '#000000',
  },
}
SCSS
$custom: #6d41db;
$custom-light: #a179e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d41db",
  "rgb": {
    "r": 109,
    "g": 65,
    "b": 219
  },
  "hsl": {
    "h": 257.143,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51926,
    "c": 0.21972,
    "h": 289.6
  },
  "luminance": 0.12146
}

Semantic roles & 50–950 ramp

primary
#6D41DB
secondary
#CADC9C
accent
#EB3DB9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6D41DB

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

Preview Lab → · Contrast checker → · Palette generator →

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