#6F38BC#6F38BC

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

Color values

HEX#6F38BC
RGBrgb(111, 56, 188)
HSLhsl(265, 54%, 48%)
HSVhsv(265, 70%, 74%)
CMYKcmyk(41%, 70.2%, 0%, 26.3%)
CIE-LABlab(37.55, 51.14, -60.48)
CIE-LCHlch(37.55, 79.20, 310.21°)
OKLaboklab(48.43% 0.0906 -0.1728)
OKLCHoklch(48.43% 0.195 297.7)
XYZxyz(17.0445, 9.8384, 48.5682)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F38BC #85BC38
analogous
#3843BC #6F38BC #B138BC
triadic
#6F38BC #BC6F38 #38BC6F
tetradic
#6F38BC #BC3843 #85BC38 #38BCB1
square
#6F38BC #BC3843 #85BC38 #38BCB1
split-complementary
#6F38BC #BCB138 #43BC38
monochromatic
#371C5E #532A8D #6F38BC #8F61D0 #B190DE

Accessibility & contrast

On white

7.08
#6F38BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F38BC
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F38BC#FFFFFF#000000##FFFFFF
##6F38BC1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#5C5876
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6f38bc;
/* rgb */ color: rgb(111, 56, 188);
/* oklch */ color: oklch(48.4% 0.195 297.7);
Tailwind
colors: {
  custom: {
    50: '#9f73d1',
    500: '#6f38bc',
    950: '#000000',
  },
}
SCSS
$custom: #6f38bc;
$custom-light: #9f73d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f38bc",
  "rgb": {
    "r": 111,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 265,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48428,
    "c": 0.19509,
    "h": 297.7
  },
  "luminance": 0.09839
}

Semantic roles & 50–950 ramp

primary
#6F38BC
secondary
#ADC987
accent
#DD4AA0
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6F38BC

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

Preview Lab → · Contrast checker → · Palette generator →

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