#6E38DB#6E38DB

#6E38DB is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.9% C 0.229 H 291.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#6E38DB
RGBrgb(110, 56, 219)
HSLhsl(260, 69%, 54%)
HSVhsv(260, 74%, 86%)
CMYKcmyk(49.8%, 74.4%, 0%, 14.1%)
CIE-LABlab(40.01, 59.05, -74.46)
CIE-LCHlch(40.01, 95.03, 308.42°)
OKLaboklab(50.93% 0.0824 -0.2138)
OKLCHoklch(50.93% 0.229 291.1)
XYZxyz(20.6271, 11.2570, 68.0901)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E38DB #A5DB38
analogous
#3854DB #6E38DB #C038DB
triadic
#6E38DB #DB6E38 #38DB6E
tetradic
#6E38DB #DB3854 #A5DB38 #38DBC0
square
#6E38DB #DB3854 #A5DB38 #38DBC0
split-complementary
#6E38DB #DBC038 #54DB38
monochromatic
#3A1781 #5221B5 #6E38DB #946CE4 #BAA0EE

Accessibility & contrast

On white

6.46
#6E38DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#6E38DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E38DB
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E38DB#FFFFFF#000000##FFFFFF
##6E38DB1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E0
Deuteranopia (green-blind)
#005BD8
Tritanopia (blue-blind)
#496587
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6e38db;
/* rgb */ color: rgb(110, 56, 219);
/* oklch */ color: oklch(50.9% 0.229 291.1);
Tailwind
colors: {
  custom: {
    50: '#a274e7',
    500: '#6e38db',
    950: '#000000',
  },
}
SCSS
$custom: #6e38db;
$custom-light: #a274e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e38db",
  "rgb": {
    "r": 110,
    "g": 56,
    "b": 219
  },
  "hsl": {
    "h": 259.877,
    "s": 69.362,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50935,
    "c": 0.22918,
    "h": 291.1
  },
  "luminance": 0.11258
}

Semantic roles & 50–950 ramp

primary
#6E38DB
secondary
#C3DA95
accent
#EC3CB2
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6E38DB

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

Preview Lab → · Contrast checker → · Palette generator →

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