#6D38BC#6D38BC

#6D38BC is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.2% C 0.195 H 296.8°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#6D38BC
RGBrgb(109, 56, 188)
HSLhsl(264, 54%, 48%)
HSVhsv(264, 70%, 74%)
CMYKcmyk(42%, 70.2%, 0%, 26.3%)
CIE-LABlab(37.32, 50.76, -60.87)
CIE-LCHlch(37.32, 79.26, 309.83°)
OKLaboklab(48.21% 0.0878 -0.174)
OKLCHoklch(48.21% 0.195 296.8)
XYZxyz(16.7956, 9.7101, 48.5565)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D38BC #87BC38
analogous
#3845BC #6D38BC #AF38BC
triadic
#6D38BC #BC6D38 #38BC6D
tetradic
#6D38BC #BC3845 #87BC38 #38BCAF
square
#6D38BC #BC3845 #87BC38 #38BCAF
split-complementary
#6D38BC #BCAF38 #45BC38
monochromatic
#361C5E #522A8D #6D38BC #8E61D0 #B090DE

Accessibility & contrast

On white

7.14
#6D38BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#6D38BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D38BC
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D38BC#FFFFFF#000000##FFFFFF
##6D38BC1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#595976
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6d38bc;
/* rgb */ color: rgb(109, 56, 188);
/* oklch */ color: oklch(48.2% 0.195 296.8);
Tailwind
colors: {
  custom: {
    50: '#9d73d1',
    500: '#6d38bc',
    950: '#000000',
  },
}
SCSS
$custom: #6d38bc;
$custom-light: #9d73d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d38bc",
  "rgb": {
    "r": 109,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 264.091,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48209,
    "c": 0.19487,
    "h": 296.8
  },
  "luminance": 0.0971
}

Semantic roles & 50–950 ramp

primary
#6D38BC
secondary
#AEC987
accent
#DD4AA2
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6D38BC

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

Preview Lab → · Contrast checker → · Palette generator →

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