#6D38BB#6D38BB

#6D38BB is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.1% C 0.194 H 297.0°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#6D38BB
RGBrgb(109, 56, 187)
HSLhsl(264, 54%, 48%)
HSVhsv(264, 70%, 73%)
CMYKcmyk(41.7%, 70.1%, 0%, 26.7%)
CIE-LABlab(37.24, 50.51, -60.42)
CIE-LCHlch(37.24, 78.74, 309.89°)
OKLaboklab(48.13% 0.0879 -0.1726)
OKLCHoklch(48.13% 0.194 297)
XYZxyz(16.6882, 9.6671, 47.9908)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D38BB #86BB38
analogous
#3844BB #6D38BB #AE38BB
triadic
#6D38BB #BB6D38 #38BB6D
tetradic
#6D38BB #BB3844 #86BB38 #38BBAE
square
#6D38BB #BB3844 #86BB38 #38BBAE
split-complementary
#6D38BB #BBAE38 #44BB38
monochromatic
#361C5D #522A8C #6D38BB #8E61D0 #AF90DE

Accessibility & contrast

On white

7.16
#6D38BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#6D38BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D38BB
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D38BB#FFFFFF#000000##FFFFFF
##6D38BB1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#595875
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6d38bb;
/* rgb */ color: rgb(109, 56, 187);
/* oklch */ color: oklch(48.1% 0.194 297.0);
Tailwind
colors: {
  custom: {
    50: '#9d73d0',
    500: '#6d38bb',
    950: '#000000',
  },
}
SCSS
$custom: #6d38bb;
$custom-light: #9d73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d38bb",
  "rgb": {
    "r": 109,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 264.275,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48128,
    "c": 0.19374,
    "h": 297
  },
  "luminance": 0.09667
}

Semantic roles & 50–950 ramp

primary
#6D38BB
secondary
#AEC886
accent
#DD4BA2
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6D38BB

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

Preview Lab → · Contrast checker → · Palette generator →

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