#6D38CD#6D38CD

#6D38CD is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.6% C 0.214 H 293.2°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#6D38CD
RGBrgb(109, 56, 205)
HSLhsl(261, 60%, 51%)
HSVhsv(261, 73%, 80%)
CMYKcmyk(46.8%, 72.7%, 0%, 19.6%)
CIE-LABlab(38.70, 55.21, -68.54)
CIE-LCHlch(38.70, 88.01, 308.86°)
OKLaboklab(49.62% 0.0843 -0.1965)
OKLCHoklch(49.62% 0.214 293.2)
XYZxyz(18.7372, 10.4867, 58.7827)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D38CD #98CD38
analogous
#384DCD #6D38CD #B738CD
triadic
#6D38CD #CD6D38 #38CD6D
tetradic
#6D38CD #CD384D #98CD38 #38CDB7
square
#6D38CD #CD384D #98CD38 #38CDB7
split-complementary
#6D38CD #CDB738 #4DCD38
monochromatic
#391C6F #5328A0 #6D38CD #9169D9 #B59AE6

Accessibility & contrast

On white

6.78
#6D38CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#6D38CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D38CD
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D38CD#FFFFFF#000000##FFFFFF
##6D38CD1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD1
Deuteranopia (green-blind)
#0058CA
Tritanopia (blue-blind)
#505F7F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6d38cd;
/* rgb */ color: rgb(109, 56, 205);
/* oklch */ color: oklch(49.6% 0.214 293.2);
Tailwind
colors: {
  custom: {
    50: '#9f73dd',
    500: '#6d38cd',
    950: '#000000',
  },
}
SCSS
$custom: #6d38cd;
$custom-light: #9f73dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6d38cd",
  "rgb": {
    "r": 109,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 261.342,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49621,
    "c": 0.21383,
    "h": 293.2
  },
  "luminance": 0.10487
}

Semantic roles & 50–950 ramp

primary
#6D38CD
secondary
#BAD18F
accent
#E345AB
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6D38CD

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

Preview Lab → · Contrast checker → · Palette generator →

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