#6F38AC#6F38AC

#6F38AC is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.2% C 0.177 H 301.7°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#6F38AC
RGBrgb(111, 56, 172)
HSLhsl(268, 51%, 45%)
HSVhsv(268, 67%, 67%)
CMYKcmyk(35.5%, 67.4%, 0%, 32.5%)
CIE-LABlab(36.34, 47.06, -52.98)
CIE-LCHlch(36.34, 70.86, 311.62°)
OKLaboklab(47.18% 0.093 -0.1507)
OKLCHoklch(47.18% 0.177 301.7)
XYZxyz(15.4143, 9.1864, 39.9828)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F38AC #75AC38
analogous
#383BAC #6F38AC #A938AC
triadic
#6F38AC #AC6F38 #38AC6F
tetradic
#6F38AC #AC383B #75AC38 #38ACA9
square
#6F38AC #AC383B #75AC38 #38ACA9
split-complementary
#6F38AC #ACA938 #3BAC38
monochromatic
#331A50 #51297E #6F38AC #8E58C9 #AD87D8

Accessibility & contrast

On white

7.40
#6F38AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6F38AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F38AC
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F38AC#FFFFFF#000000##FFFFFF
##6F38AC1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#62526D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6f38ac;
/* rgb */ color: rgb(111, 56, 172);
/* oklch */ color: oklch(47.2% 0.177 301.7);
Tailwind
colors: {
  custom: {
    50: '#9d72c5',
    500: '#6f38ac',
    950: '#000000',
  },
}
SCSS
$custom: #6f38ac;
$custom-light: #9d72c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f38ac",
  "rgb": {
    "r": 111,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 268.448,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47183,
    "c": 0.17709,
    "h": 301.7
  },
  "luminance": 0.09186
}

Semantic roles & 50–950 ramp

primary
#6F38AC
secondary
#A2C27E
accent
#DA4D98
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F38AC

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

Preview Lab → · Contrast checker → · Palette generator →

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