#6E28FF#6E28FF

#6E28FF is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.8% C 0.279 H 286.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#6E28FF
RGBrgb(110, 40, 255)
HSLhsl(260, 100%, 58%)
HSVhsv(260, 84%, 100%)
CMYKcmyk(56.9%, 84.3%, 0%, 0%)
CIE-LABlab(41.30, 74.38, -92.71)
CIE-LCHlch(41.30, 118.86, 308.74°)
OKLaboklab(52.85% 0.0806 -0.267)
OKLCHoklch(52.85% 0.279 286.8)
XYZxyz(25.2338, 12.0511, 95.5848)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E28FF #B9FF28
analogous
#284DFF #6E28FF #DA28FF
triadic
#6E28FF #FF6E28 #28FF6E
tetradic
#6E28FF #FF284D #B9FF28 #28FFDA
square
#6E28FF #FF284D #B9FF28 #28FFDA
split-complementary
#6E28FF #FFDA28 #4DFF28
monochromatic
#3800AD #4C00EA #6E28FF #9765FF #C1A2FF

Accessibility & contrast

On white

6.16
#6E28FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#6E28FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E28FF
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E28FF#FFFFFF#000000##FFFFFF
##6E28FF1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066FF
Deuteranopia (green-blind)
#005BFB
Tritanopia (blue-blind)
#216E99
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6e28ff;
/* rgb */ color: rgb(110, 40, 255);
/* oklch */ color: oklch(52.8% 0.279 286.8);
Tailwind
colors: {
  custom: {
    50: '#a86fff',
    500: '#6e28ff',
    950: '#000000',
  },
}
SCSS
$custom: #6e28ff;
$custom-light: #a86fff;
$custom-dark: #000000;
JSON
{
  "hex": "#6e28ff",
  "rgb": {
    "r": 110,
    "g": 40,
    "b": 255
  },
  "hsl": {
    "h": 259.535,
    "s": 100,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52849,
    "c": 0.2789,
    "h": 286.8
  },
  "luminance": 0.12053
}

Semantic roles & 50–950 ramp

primary
#6E28FF
secondary
#D0ED96
accent
#FF29B9
background
#FBF7FF
surface
#F6EDFF
border
#D0C8D7
text
#110818
muted
#807B86

Preview Lab

Preview with #6E28FF

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

Preview Lab → · Contrast checker → · Palette generator →

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