#6D2DAF#6D2DAF

#6D2DAF is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.8% C 0.193 H 301.4°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#6D2DAF
RGBrgb(109, 45, 175)
HSLhsl(270, 59%, 43%)
HSVhsv(270, 74%, 69%)
CMYKcmyk(37.7%, 74.3%, 0%, 31.4%)
CIE-LABlab(34.44, 52.66, -57.86)
CIE-LCHlch(34.44, 78.24, 312.31°)
OKLaboklab(45.85% 0.1009 -0.1651)
OKLCHoklch(45.85% 0.193 301.4)
XYZxyz(14.9810, 8.2230, 41.3471)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2DAF #6FAF2D
analogous
#2D2EAF #6D2DAF #AE2DAF
triadic
#6D2DAF #AF6D2D #2DAF6D
tetradic
#6D2DAF #AF2D2E #6FAF2D #2DAFAE
square
#6D2DAF #AF2D2E #6FAF2D #2DAFAE
split-complementary
#6D2DAF #AFAE2D #2EAF2D
monochromatic
#30144E #4F207E #6D2DAF #8C49D0 #AA7ADD

Accessibility & contrast

On white

7.94
#6D2DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6D2DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2DAF
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2DAF#FFFFFF#000000##FFFFFF
##6D2DAF1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#5F4E6C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6d2daf;
/* rgb */ color: rgb(109, 45, 175);
/* oklch */ color: oklch(45.8% 0.193 301.4);
Tailwind
colors: {
  custom: {
    50: '#9d6cc8',
    500: '#6d2daf',
    950: '#000000',
  },
}
SCSS
$custom: #6d2daf;
$custom-light: #9d6cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2daf",
  "rgb": {
    "r": 109,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 269.538,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45849,
    "c": 0.19348,
    "h": 301.4
  },
  "luminance": 0.08223
}

Semantic roles & 50–950 ramp

primary
#6D2DAF
secondary
#9DC573
accent
#E24695
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D2DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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