#6E38CA#6E38CA

#6E38CA is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.5% C 0.211 H 294.2°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#6E38CA
RGBrgb(110, 56, 202)
HSLhsl(262, 58%, 51%)
HSVhsv(262, 72%, 79%)
CMYKcmyk(45.5%, 72.3%, 0%, 20.8%)
CIE-LABlab(38.56, 54.59, -67.02)
CIE-LCHlch(38.56, 86.44, 309.16°)
OKLaboklab(49.47% 0.0864 -0.192)
OKLCHoklch(49.47% 0.211 294.2)
XYZxyz(18.5023, 10.4071, 56.8996)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E38CA #94CA38
analogous
#384BCA #6E38CA #B738CA
triadic
#6E38CA #CA6E38 #38CA6E
tetradic
#6E38CA #CA384B #94CA38 #38CAB7
square
#6E38CA #CA384B #94CA38 #38CAB7
split-complementary
#6E38CA #CAB738 #4BCA38
monochromatic
#3A1D6B #54299B #6E38CA #9168D7 #B499E4

Accessibility & contrast

On white

6.81
#6E38CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#6E38CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E38CA
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E38CA#FFFFFF#000000##FFFFFF
##6E38CA1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCE
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#535E7E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6e38ca;
/* rgb */ color: rgb(110, 56, 202);
/* oklch */ color: oklch(49.5% 0.211 294.2);
Tailwind
colors: {
  custom: {
    50: '#a073db',
    500: '#6e38ca',
    950: '#000000',
  },
}
SCSS
$custom: #6e38ca;
$custom-light: #a073db;
$custom-dark: #000000;
JSON
{
  "hex": "#6e38ca",
  "rgb": {
    "r": 110,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 262.192,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49471,
    "c": 0.21056,
    "h": 294.2
  },
  "luminance": 0.10408
}

Semantic roles & 50–950 ramp

primary
#6E38CA
secondary
#B7CF8E
accent
#E147A8
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6E38CA

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

Preview Lab → · Contrast checker → · Palette generator →

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