#6D38BF#6D38BF

#6D38BF is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.5% C 0.198 H 296.1°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#6D38BF
RGBrgb(109, 56, 191)
HSLhsl(264, 55%, 48%)
HSVhsv(264, 71%, 75%)
CMYKcmyk(42.9%, 70.7%, 0%, 25.1%)
CIE-LABlab(37.56, 51.55, -62.25)
CIE-LCHlch(37.56, 80.82, 309.63°)
OKLaboklab(48.45% 0.0872 -0.178)
OKLCHoklch(48.45% 0.198 296.1)
XYZxyz(17.1223, 9.8408, 50.2774)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D38BF #8ABF38
analogous
#3846BF #6D38BF #B038BF
triadic
#6D38BF #BF6D38 #38BF6D
tetradic
#6D38BF #BF3846 #8ABF38 #38BFB0
square
#6D38BF #BF3846 #8ABF38 #38BFB0
split-complementary
#6D38BF #BFB038 #46BF38
monochromatic
#371C60 #522A90 #6D38BF #8E63D1 #B092DF

Accessibility & contrast

On white

7.07
#6D38BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6D38BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D38BF
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D38BF#FFFFFF#000000##FFFFFF
##6D38BF1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#0056BC
Tritanopia (blue-blind)
#575A78
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6d38bf;
/* rgb */ color: rgb(109, 56, 191);
/* oklch */ color: oklch(48.5% 0.198 296.1);
Tailwind
colors: {
  custom: {
    50: '#9e73d3',
    500: '#6d38bf',
    950: '#000000',
  },
}
SCSS
$custom: #6d38bf;
$custom-light: #9e73d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d38bf",
  "rgb": {
    "r": 109,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 263.556,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48452,
    "c": 0.19824,
    "h": 296.1
  },
  "luminance": 0.09841
}

Semantic roles & 50–950 ramp

primary
#6D38BF
secondary
#B0CA89
accent
#DE4AA4
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6D38BF

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

Preview Lab → · Contrast checker → · Palette generator →

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