#6E2498#6E2498

#6E2498 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.180 H 309.9°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#6E2498
RGBrgb(110, 36, 152)
HSLhsl(278, 62%, 37%)
HSVhsv(278, 76%, 60%)
CMYKcmyk(27.6%, 76.3%, 0%, 40.4%)
CIE-LABlab(31.45, 51.28, -48.84)
CIE-LCHlch(31.45, 70.82, 316.40°)
OKLaboklab(43.2% 0.1156 -0.1385)
OKLCHoklch(43.2% 0.18 309.9)
XYZxyz(12.7277, 6.8440, 30.3502)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2498 #4E9824
analogous
#342498 #6E2498 #982488
triadic
#6E2498 #986E24 #24986E
tetradic
#6E2498 #983424 #4E9824 #248898
square
#6E2498 #983424 #4E9824 #248898
split-complementary
#6E2498 #889824 #249834
monochromatic
#260D35 #4A1867 #6E2498 #9230C9 #AC5ED9

Accessibility & contrast

On white

8.87
#6E2498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6E2498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2498
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2498#FFFFFF#000000##FFFFFF
##6E24981.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479B
Deuteranopia (green-blind)
#034B96
Tritanopia (blue-blind)
#68405D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6e2498;
/* rgb */ color: rgb(110, 36, 152);
/* oklch */ color: oklch(43.2% 0.180 309.9);
Tailwind
colors: {
  custom: {
    50: '#9c67b7',
    500: '#6e2498',
    950: '#000000',
  },
}
SCSS
$custom: #6e2498;
$custom-light: #9c67b7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2498",
  "rgb": {
    "r": 110,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 278.276,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43203,
    "c": 0.18036,
    "h": 309.9
  },
  "luminance": 0.06844
}

Semantic roles & 50–950 ramp

primary
#6E2498
secondary
#7EBE5A
accent
#E5437E
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E2498

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

Preview Lab → · Contrast checker → · Palette generator →

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