#6D2DBA#6D2DBA

#6D2DBA is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.8% C 0.205 H 298.7°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#6D2DBA
RGBrgb(109, 45, 186)
HSLhsl(267, 61%, 45%)
HSVhsv(267, 76%, 73%)
CMYKcmyk(41.4%, 75.8%, 0%, 27.1%)
CIE-LABlab(35.35, 55.36, -62.91)
CIE-LCHlch(35.35, 83.80, 311.35°)
OKLaboklab(46.77% 0.0983 -0.1799)
OKLCHoklch(46.77% 0.205 298.7)
XYZxyz(16.1057, 8.6729, 47.2704)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2DBA #7ABA2D
analogous
#2D33BA #6D2DBA #B32DBA
triadic
#6D2DBA #BA6D2D #2DBA6D
tetradic
#6D2DBA #BA2D33 #7ABA2D #2DBAB3
square
#6D2DBA #BA2D33 #7ABA2D #2DBAB3
split-complementary
#6D2DBA #BAB32D #33BA2D
monochromatic
#331557 #502189 #6D2DBA #8C50D5 #AC81E0

Accessibility & contrast

On white

7.68
#6D2DBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6D2DBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2DBA
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2DBA#FFFFFF#000000##FFFFFF
##6D2DBA1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BE
Deuteranopia (green-blind)
#0052B7
Tritanopia (blue-blind)
#5A5272
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6d2dba;
/* rgb */ color: rgb(109, 45, 186);
/* oklch */ color: oklch(46.8% 0.205 298.7);
Tailwind
colors: {
  custom: {
    50: '#9e6dd0',
    500: '#6d2dba',
    950: '#000000',
  },
}
SCSS
$custom: #6d2dba;
$custom-light: #9e6dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2dba",
  "rgb": {
    "r": 109,
    "g": 45,
    "b": 186
  },
  "hsl": {
    "h": 267.234,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46765,
    "c": 0.20503,
    "h": 298.7
  },
  "luminance": 0.08673
}

Semantic roles & 50–950 ramp

primary
#6D2DBA
secondary
#A5C979
accent
#E4449B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6D2DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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