#6D28BD#6D28BD

#6D28BD is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.5% C 0.213 H 298.5°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#6D28BD
RGBrgb(109, 40, 189)
HSLhsl(268, 65%, 45%)
HSVhsv(268, 79%, 74%)
CMYKcmyk(42.3%, 78.8%, 0%, 25.9%)
CIE-LABlab(34.89, 58.15, -65.43)
CIE-LCHlch(34.89, 87.54, 311.63°)
OKLaboklab(46.52% 0.1016 -0.1873)
OKLCHoklch(46.52% 0.213 298.5)
XYZxyz(16.2484, 8.4427, 48.9078)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D28BD #78BD28
analogous
#282EBD #6D28BD #B828BD
triadic
#6D28BD #BD6D28 #28BD6D
tetradic
#6D28BD #BD282E #78BD28 #28BDB8
square
#6D28BD #BD282E #78BD28 #28BDB8
split-complementary
#6D28BD #BDB828 #2EBD28
monochromatic
#331358 #501D8A #6D28BD #8C4AD9 #AC7CE3

Accessibility & contrast

On white

7.81
#6D28BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6D28BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D28BD
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D28BD#FFFFFF#000000##FFFFFF
##6D28BD1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#0050BA
Tritanopia (blue-blind)
#595173
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6d28bd;
/* rgb */ color: rgb(109, 40, 189);
/* oklch */ color: oklch(46.5% 0.213 298.5);
Tailwind
colors: {
  custom: {
    50: '#9e6ad2',
    500: '#6d28bd',
    950: '#000000',
  },
}
SCSS
$custom: #6d28bd;
$custom-light: #9e6ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d28bd",
  "rgb": {
    "r": 109,
    "g": 40,
    "b": 189
  },
  "hsl": {
    "h": 267.785,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46524,
    "c": 0.21305,
    "h": 298.5
  },
  "luminance": 0.08443
}

Semantic roles & 50–950 ramp

primary
#6D28BD
secondary
#A4CB75
accent
#E8409A
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6D28BD

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

Preview Lab → · Contrast checker → · Palette generator →

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