#6D3FA2#6D3FA2

#6D3FA2 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.2% C 0.155 H 302.2°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#6D3FA2
RGBrgb(109, 63, 162)
HSLhsl(268, 44%, 44%)
HSVhsv(268, 61%, 64%)
CMYKcmyk(32.7%, 61.1%, 0%, 36.5%)
CIE-LABlab(36.77, 40.34, -46.31)
CIE-LCHlch(36.77, 61.42, 311.06°)
OKLaboklab(47.22% 0.0827 -0.1312)
OKLCHoklch(47.22% 0.155 302.2)
XYZxyz(14.6043, 9.4148, 35.2233)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3FA2 #74A23F
analogous
#3F43A2 #6D3FA2 #9F3FA2
triadic
#6D3FA2 #A26D3F #3FA26D
tetradic
#6D3FA2 #A23F43 #74A23F #3FA29F
square
#6D3FA2 #A23F43 #74A23F #3FA29F
split-complementary
#6D3FA2 #A29F3F #43A23F
monochromatic
#321D4A #4F2E76 #6D3FA2 #8C5EC0 #AB8AD1

Accessibility & contrast

On white

7.28
#6D3FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6D3FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D3FA2
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3FA2#FFFFFF#000000##FFFFFF
##6D3FA21.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0556A5
Deuteranopia (green-blind)
#2356A0
Tritanopia (blue-blind)
#63546A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6d3fa2;
/* rgb */ color: rgb(109, 63, 162);
/* oklch */ color: oklch(47.2% 0.155 302.2);
Tailwind
colors: {
  custom: {
    50: '#9a76be',
    500: '#6d3fa2',
    950: '#000000',
  },
}
SCSS
$custom: #6d3fa2;
$custom-light: #9a76be;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3fa2",
  "rgb": {
    "r": 109,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 267.879,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47219,
    "c": 0.15508,
    "h": 302.2
  },
  "luminance": 0.09415
}

Semantic roles & 50–950 ramp

primary
#6D3FA2
secondary
#A1BC81
accent
#D45498
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0912
muted
#7E7B81

Preview Lab

Preview with #6D3FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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