#6F38BB#6F38BB

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

Color values

HEX#6F38BB
RGBrgb(111, 56, 187)
HSLhsl(265, 54%, 48%)
HSVhsv(265, 70%, 73%)
CMYKcmyk(40.6%, 70.1%, 0%, 26.7%)
CIE-LABlab(37.47, 50.88, -60.02)
CIE-LCHlch(37.47, 78.69, 310.29°)
OKLaboklab(48.35% 0.0908 -0.1714)
OKLCHoklch(48.35% 0.194 297.9)
XYZxyz(16.9371, 9.7954, 48.0024)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F38BB #84BB38
analogous
#3843BB #6F38BB #B038BB
triadic
#6F38BB #BB6F38 #38BB6F
tetradic
#6F38BB #BB3843 #84BB38 #38BBB0
square
#6F38BB #BB3843 #84BB38 #38BBB0
split-complementary
#6F38BB #BBB038 #43BB38
monochromatic
#371C5D #532A8C #6F38BB #8F61D0 #B090DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F38BB#FFFFFF#000000##FFFFFF
##6F38BB1.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)
#0058BF
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#5C5875
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6f38bb;
/* rgb */ color: rgb(111, 56, 187);
/* oklch */ color: oklch(48.3% 0.194 297.9);
Tailwind
colors: {
  custom: {
    50: '#9f73d0',
    500: '#6f38bb',
    950: '#000000',
  },
}
SCSS
$custom: #6f38bb;
$custom-light: #9f73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f38bb",
  "rgb": {
    "r": 111,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 265.191,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48348,
    "c": 0.19397,
    "h": 297.9
  },
  "luminance": 0.09796
}

Semantic roles & 50–950 ramp

primary
#6F38BB
secondary
#ADC886
accent
#DD4BA0
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6F38BB

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

Preview Lab → · Contrast checker → · Palette generator →

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