#6D2EA5#6D2EA5

#6D2EA5 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.2% C 0.182 H 304.1°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#6D2EA5
RGBrgb(109, 46, 165)
HSLhsl(272, 56%, 41%)
HSVhsv(272, 72%, 65%)
CMYKcmyk(33.9%, 72.1%, 0%, 35.3%)
CIE-LABlab(33.82, 49.78, -52.88)
CIE-LCHlch(33.82, 72.63, 313.27°)
OKLaboklab(45.16% 0.1019 -0.1504)
OKLCHoklch(45.16% 0.182 304.1)
XYZxyz(14.0736, 7.9219, 36.3777)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2EA5 #66A52E
analogous
#322EA5 #6D2EA5 #A52EA2
triadic
#6D2EA5 #A56D2E #2EA56D
tetradic
#6D2EA5 #A5322E #66A52E #2EA2A5
square
#6D2EA5 #A5322E #66A52E #2EA2A5
split-complementary
#6D2EA5 #A2A52E #2EA532
monochromatic
#2E1345 #4D2175 #6D2EA5 #8C45CB #AA75D8

Accessibility & contrast

On white

8.13
#6D2EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6D2EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2EA5
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2EA5#FFFFFF#000000##FFFFFF
##6D2EA51.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#004FA3
Tritanopia (blue-blind)
#624A66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6d2ea5;
/* rgb */ color: rgb(109, 46, 165);
/* oklch */ color: oklch(45.2% 0.182 304.1);
Tailwind
colors: {
  custom: {
    50: '#9c6cc0',
    500: '#6d2ea5',
    950: '#000000',
  },
}
SCSS
$custom: #6d2ea5;
$custom-light: #9c6cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2ea5",
  "rgb": {
    "r": 109,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 271.765,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45162,
    "c": 0.18172,
    "h": 304.1
  },
  "luminance": 0.07922
}

Semantic roles & 50–950 ramp

primary
#6D2EA5
secondary
#95C06F
accent
#E0488F
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6D2EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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