#6F38BD#6F38BD

#6F38BD is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.5% C 0.196 H 297.4°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#6F38BD
RGBrgb(111, 56, 189)
HSLhsl(265, 54%, 48%)
HSVhsv(265, 70%, 74%)
CMYKcmyk(41.3%, 70.4%, 0%, 25.9%)
CIE-LABlab(37.63, 51.39, -60.94)
CIE-LCHlch(37.63, 79.72, 310.14°)
OKLaboklab(48.51% 0.0904 -0.1741)
OKLCHoklch(48.51% 0.196 297.4)
XYZxyz(17.1526, 9.8817, 49.1379)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F38BD #86BD38
analogous
#3843BD #6F38BD #B138BD
triadic
#6F38BD #BD6F38 #38BD6F
tetradic
#6F38BD #BD3843 #86BD38 #38BDB1
square
#6F38BD #BD3843 #86BD38 #38BDB1
split-complementary
#6F38BD #BDB138 #43BD38
monochromatic
#381C5F #532A8E #6F38BD #9062D0 #B191DE

Accessibility & contrast

On white

7.06
#6F38BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#6F38BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F38BD
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F38BD#FFFFFF#000000##FFFFFF
##6F38BD1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#5B5976
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6f38bd;
/* rgb */ color: rgb(111, 56, 189);
/* oklch */ color: oklch(48.5% 0.196 297.4);
Tailwind
colors: {
  custom: {
    50: '#9f73d2',
    500: '#6f38bd',
    950: '#000000',
  },
}
SCSS
$custom: #6f38bd;
$custom-light: #9f73d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f38bd",
  "rgb": {
    "r": 111,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 264.812,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48508,
    "c": 0.19621,
    "h": 297.4
  },
  "luminance": 0.09882
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6F38BD

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

Preview Lab → · Contrast checker → · Palette generator →

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