#6F3EA2#6F3EA2

#6F3EA2 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.3% C 0.157 H 303.5°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#6F3EA2
RGBrgb(111, 62, 162)
HSLhsl(269, 45%, 44%)
HSVhsv(269, 62%, 64%)
CMYKcmyk(31.5%, 61.7%, 0%, 36.5%)
CIE-LABlab(36.81, 41.37, -46.24)
CIE-LCHlch(36.81, 62.05, 311.82°)
OKLaboklab(47.3% 0.0867 -0.1309)
OKLCHoklch(47.3% 0.157 303.5)
XYZxyz(14.7983, 9.4334, 35.2166)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3EA2 #71A23E
analogous
#3E3FA2 #6F3EA2 #A13EA2
triadic
#6F3EA2 #A26F3E #3EA26F
tetradic
#6F3EA2 #A23E3F #71A23E #3EA2A1
square
#6F3EA2 #A23E3F #71A23E #3EA2A1
split-complementary
#6F3EA2 #A2A13E #3FA23E
monochromatic
#321C49 #512D76 #6F3EA2 #8E5CC1 #AC89D2

Accessibility & contrast

On white

7.27
#6F3EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6F3EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F3EA2
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3EA2#FFFFFF#000000##FFFFFF
##6F3EA21.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0355A5
Deuteranopia (green-blind)
#2456A0
Tritanopia (blue-blind)
#65536A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6f3ea2;
/* rgb */ color: rgb(111, 62, 162);
/* oklch */ color: oklch(47.3% 0.157 303.5);
Tailwind
colors: {
  custom: {
    50: '#9c76be',
    500: '#6f3ea2',
    950: '#000000',
  },
}
SCSS
$custom: #6f3ea2;
$custom-light: #9c76be;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3ea2",
  "rgb": {
    "r": 111,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 269.4,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47297,
    "c": 0.15702,
    "h": 303.5
  },
  "luminance": 0.09433
}

Semantic roles & 50–950 ramp

primary
#6F3EA2
secondary
#9FBC80
accent
#D45395
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0F0912
muted
#7E7B81

Preview Lab

Preview with #6F3EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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