#6F3FAF#6F3FAF

#6F3FAF is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.4% C 0.171 H 299.7°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#6F3FAF
RGBrgb(111, 63, 175)
HSLhsl(266, 47%, 47%)
HSVhsv(266, 64%, 69%)
CMYKcmyk(36.6%, 64%, 0%, 31.4%)
CIE-LABlab(37.90, 44.17, -52.25)
CIE-LCHlch(37.90, 68.41, 310.21°)
OKLaboklab(48.37% 0.0847 -0.1486)
OKLCHoklch(48.37% 0.171 299.7)
XYZxyz(16.0690, 10.0295, 41.6384)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3FAF #7FAF3F
analogous
#3F47AF #6F3FAF #A73FAF
triadic
#6F3FAF #AF6F3F #3FAF6F
tetradic
#6F3FAF #AF3F47 #7FAF3F #3FAFA7
square
#6F3FAF #AF3F47 #7FAF3F #3FAFA7
split-complementary
#6F3FAF #AFA73F #47AF3F
monochromatic
#361F55 #522F82 #6F3FAF #8F64C7 #AF91D7

Accessibility & contrast

On white

6.99
#6F3FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#6F3FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F3FAF
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3FAF#FFFFFF#000000##FFFFFF
##6F3FAF1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#0B58AD
Tritanopia (blue-blind)
#615871
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6f3faf;
/* rgb */ color: rgb(111, 63, 175);
/* oklch */ color: oklch(48.4% 0.171 299.7);
Tailwind
colors: {
  custom: {
    50: '#9d77c8',
    500: '#6f3faf',
    950: '#000000',
  },
}
SCSS
$custom: #6f3faf;
$custom-light: #9d77c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3faf",
  "rgb": {
    "r": 111,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 265.714,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48371,
    "c": 0.17103,
    "h": 299.7
  },
  "luminance": 0.1003
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6F3FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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