#6F3EAF#6F3EAF

#6F3EAF is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.2% C 0.172 H 299.9°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#6F3EAF
RGBrgb(111, 62, 175)
HSLhsl(266, 48%, 46%)
HSVhsv(266, 65%, 69%)
CMYKcmyk(36.6%, 64.6%, 0%, 31.4%)
CIE-LABlab(37.70, 44.70, -52.56)
CIE-LCHlch(37.70, 69.00, 310.38°)
OKLaboklab(48.23% 0.0859 -0.1495)
OKLCHoklch(48.23% 0.172 299.9)
XYZxyz(16.0141, 9.9198, 41.6201)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3EAF #7EAF3E
analogous
#3E46AF #6F3EAF #A83EAF
triadic
#6F3EAF #AF6F3E #3EAF6F
tetradic
#6F3EAF #AF3E46 #7EAF3E #3EAFA8
square
#6F3EAF #AF3E46 #7EAF3E #3EAFA8
split-complementary
#6F3EAF #AFA83E #46AF3E
monochromatic
#361E55 #522E82 #6F3EAF #8E63C8 #AF90D8

Accessibility & contrast

On white

7.04
#6F3EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F3EAF
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3EAF#FFFFFF#000000##FFFFFF
##6F3EAF1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#0758AD
Tritanopia (blue-blind)
#615771
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6f3eaf;
/* rgb */ color: rgb(111, 62, 175);
/* oklch */ color: oklch(48.2% 0.172 299.9);
Tailwind
colors: {
  custom: {
    50: '#9d76c8',
    500: '#6f3eaf',
    950: '#000000',
  },
}
SCSS
$custom: #6f3eaf;
$custom-light: #9d76c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3eaf",
  "rgb": {
    "r": 111,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 266.018,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48228,
    "c": 0.17243,
    "h": 299.9
  },
  "luminance": 0.0992
}

Semantic roles & 50–950 ramp

primary
#6F3EAF
secondary
#A8C386
accent
#D7519D
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #6F3EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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