#6F3DA2#6F3DA2

#6F3DA2 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.2% C 0.159 H 303.7°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#6F3DA2
RGBrgb(111, 61, 162)
HSLhsl(270, 45%, 44%)
HSVhsv(270, 62%, 64%)
CMYKcmyk(31.5%, 62.3%, 0%, 36.5%)
CIE-LABlab(36.60, 41.92, -46.57)
CIE-LCHlch(36.60, 62.65, 311.99°)
OKLaboklab(47.15% 0.0879 -0.1319)
OKLCHoklch(47.15% 0.159 303.7)
XYZxyz(14.7444, 9.3257, 35.1987)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3DA2 #70A23D
analogous
#3D3DA2 #6F3DA2 #A13DA2
triadic
#6F3DA2 #A26F3D #3DA26F
tetradic
#6F3DA2 #A23D3D #70A23D #3DA2A1
square
#6F3DA2 #A23D3D #70A23D #3DA2A1
split-complementary
#6F3DA2 #A2A13D #3DA23D
monochromatic
#321C49 #512C76 #6F3DA2 #8E5BC1 #AC87D2

Accessibility & contrast

On white

7.33
#6F3DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6F3DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F3DA2
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3DA2#FFFFFF#000000##FFFFFF
##6F3DA21.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#2256A0
Tritanopia (blue-blind)
#65526A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6f3da2;
/* rgb */ color: rgb(111, 61, 162);
/* oklch */ color: oklch(47.2% 0.159 303.7);
Tailwind
colors: {
  custom: {
    50: '#9c75be',
    500: '#6f3da2',
    950: '#000000',
  },
}
SCSS
$custom: #6f3da2;
$custom-light: #9c75be;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3da2",
  "rgb": {
    "r": 111,
    "g": 61,
    "b": 162
  },
  "hsl": {
    "h": 269.703,
    "s": 45.291,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47151,
    "c": 0.1585,
    "h": 303.7
  },
  "luminance": 0.09326
}

Semantic roles & 50–950 ramp

primary
#6F3DA2
secondary
#9EBC7E
accent
#D55395
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0F0812
muted
#7E7B81

Preview Lab

Preview with #6F3DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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