#6D38BE#6D38BE

#6D38BE is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.4% C 0.197 H 296.3°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#6D38BE
RGBrgb(109, 56, 190)
HSLhsl(264, 54%, 48%)
HSVhsv(264, 71%, 75%)
CMYKcmyk(42.6%, 70.5%, 0%, 25.5%)
CIE-LABlab(37.48, 51.29, -61.79)
CIE-LCHlch(37.48, 80.30, 309.69°)
OKLaboklab(48.37% 0.0874 -0.1767)
OKLCHoklch(48.37% 0.197 296.3)
XYZxyz(17.0127, 9.7969, 49.6999)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D38BE #89BE38
analogous
#3846BE #6D38BE #B038BE
triadic
#6D38BE #BE6D38 #38BE6D
tetradic
#6D38BE #BE3846 #89BE38 #38BEB0
square
#6D38BE #BE3846 #89BE38 #38BEB0
split-complementary
#6D38BE #BEB038 #46BE38
monochromatic
#371C5F #522A8F #6D38BE #8E62D1 #B092DF

Accessibility & contrast

On white

7.10
#6D38BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#6D38BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D38BE
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D38BE#FFFFFF#000000##FFFFFF
##6D38BE1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C2
Deuteranopia (green-blind)
#0056BB
Tritanopia (blue-blind)
#585977
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6d38be;
/* rgb */ color: rgb(109, 56, 190);
/* oklch */ color: oklch(48.4% 0.197 296.3);
Tailwind
colors: {
  custom: {
    50: '#9e73d3',
    500: '#6d38be',
    950: '#000000',
  },
}
SCSS
$custom: #6d38be;
$custom-light: #9e73d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d38be",
  "rgb": {
    "r": 109,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 263.731,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48371,
    "c": 0.19712,
    "h": 296.3
  },
  "luminance": 0.09797
}

Semantic roles & 50–950 ramp

primary
#6D38BE
secondary
#B0CA88
accent
#DE4AA3
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6D38BE

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

Preview Lab → · Contrast checker → · Palette generator →

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