#6D2EA8#6D2EA8

#6D2EA8 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.185 H 303.2°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#6D2EA8
RGBrgb(109, 46, 168)
HSLhsl(271, 57%, 42%)
HSVhsv(271, 73%, 66%)
CMYKcmyk(35.1%, 72.6%, 0%, 34.1%)
CIE-LABlab(34.05, 50.51, -54.31)
CIE-LCHlch(34.05, 74.17, 312.92°)
OKLaboklab(45.4% 0.1014 -0.1546)
OKLCHoklch(45.4% 0.185 303.2)
XYZxyz(14.3499, 8.0324, 37.8326)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2EA8 #69A82E
analogous
#302EA8 #6D2EA8 #A82EA6
triadic
#6D2EA8 #A86D2E #2EA86D
tetradic
#6D2EA8 #A8302E #69A82E #2EA6A8
square
#6D2EA8 #A8302E #69A82E #2EA6A8
split-complementary
#6D2EA8 #A6A82E #2EA830
monochromatic
#2F1448 #4E2178 #6D2EA8 #8C47CD #AA77DA

Accessibility & contrast

On white

8.06
#6D2EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6D2EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2EA8
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2EA8#FFFFFF#000000##FFFFFF
##6D2EA81.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#0050A5
Tritanopia (blue-blind)
#614B68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6d2ea8;
/* rgb */ color: rgb(109, 46, 168);
/* oklch */ color: oklch(45.4% 0.185 303.2);
Tailwind
colors: {
  custom: {
    50: '#9c6cc3',
    500: '#6d2ea8',
    950: '#000000',
  },
}
SCSS
$custom: #6d2ea8;
$custom-light: #9c6cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2ea8",
  "rgb": {
    "r": 109,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 270.984,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45398,
    "c": 0.18491,
    "h": 303.2
  },
  "luminance": 0.08032
}

Semantic roles & 50–950 ramp

primary
#6D2EA8
secondary
#98C270
accent
#E04891
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D2EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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