#6E28B3#6E28B3

#6E28B3 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.8% C 0.203 H 301.4°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#6E28B3
RGBrgb(110, 40, 179)
HSLhsl(270, 63%, 43%)
HSVhsv(270, 78%, 70%)
CMYKcmyk(38.5%, 77.7%, 0%, 29.8%)
CIE-LABlab(34.16, 55.91, -60.69)
CIE-LCHlch(34.16, 82.52, 312.65°)
OKLaboklab(45.78% 0.1058 -0.1733)
OKLCHoklch(45.78% 0.203 301.4)
XYZxyz(15.3239, 8.0872, 43.3927)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E28B3 #6DB328
analogous
#2928B3 #6E28B3 #B328B2
triadic
#6E28B3 #B36E28 #28B36E
tetradic
#6E28B3 #B32928 #6DB328 #28B2B3
square
#6E28B3 #B32928 #6DB328 #28B2B3
split-complementary
#6E28B3 #B2B328 #28B329
monochromatic
#31124F #4F1D81 #6E28B3 #8D43D5 #AB75E0

Accessibility & contrast

On white

8.02
#6E28B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6E28B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E28B3
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E28B3#FFFFFF#000000##FFFFFF
##6E28B31.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#5F4D6D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6e28b3;
/* rgb */ color: rgb(110, 40, 179);
/* oklch */ color: oklch(45.8% 0.203 301.4);
Tailwind
colors: {
  custom: {
    50: '#9e6acb',
    500: '#6e28b3',
    950: '#000000',
  },
}
SCSS
$custom: #6e28b3;
$custom-light: #9e6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#6e28b3",
  "rgb": {
    "r": 110,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 270.216,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45783,
    "c": 0.20308,
    "h": 301.4
  },
  "luminance": 0.08087
}

Semantic roles & 50–950 ramp

primary
#6E28B3
secondary
#9BC86F
accent
#E64193
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E28B3

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

Preview Lab → · Contrast checker → · Palette generator →

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