#6D43B2#6D43B2

#6D43B2 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.0% C 0.169 H 297.2°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#6D43B2
RGBrgb(109, 67, 178)
HSLhsl(263, 45%, 48%)
HSVhsv(263, 62%, 70%)
CMYKcmyk(38.8%, 62.4%, 0%, 30.2%)
CIE-LABlab(38.69, 42.33, -52.75)
CIE-LCHlch(38.69, 67.64, 308.75°)
OKLaboklab(48.96% 0.0771 -0.1501)
OKLCHoklch(48.96% 0.169 297.2)
XYZxyz(16.3477, 10.4796, 43.2723)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D43B2 #88B243
analogous
#4350B2 #6D43B2 #A443B2
triadic
#6D43B2 #B26D43 #43B26D
tetradic
#6D43B2 #B24350 #88B243 #43B2A4
square
#6D43B2 #B24350 #88B243 #43B2A4
split-complementary
#6D43B2 #B2A443 #50B243
monochromatic
#372259 #523286 #6D43B2 #8E6BC7 #B097D8

Accessibility & contrast

On white

6.78
#6D43B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#6D43B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D43B2
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D43B2#FFFFFF#000000##FFFFFF
##6D43B21.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#0A5AB0
Tritanopia (blue-blind)
#5C5C74
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6d43b2;
/* rgb */ color: rgb(109, 67, 178);
/* oklch */ color: oklch(49.0% 0.169 297.2);
Tailwind
colors: {
  custom: {
    50: '#9c79ca',
    500: '#6d43b2',
    950: '#000000',
  },
}
SCSS
$custom: #6d43b2;
$custom-light: #9c79ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6d43b2",
  "rgb": {
    "r": 109,
    "g": 67,
    "b": 178
  },
  "hsl": {
    "h": 262.703,
    "s": 45.306,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48962,
    "c": 0.16876,
    "h": 297.2
  },
  "luminance": 0.1048
}

Semantic roles & 50–950 ramp

primary
#6D43B2
secondary
#AFC48D
accent
#D553A4
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0913
muted
#7E7B82

Preview Lab

Preview with #6D43B2

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

Preview Lab → · Contrast checker → · Palette generator →

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