#6E2598#6E2598

#6E2598 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.179 H 309.8°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#6E2598
RGBrgb(110, 37, 152)
HSLhsl(278, 61%, 37%)
HSVhsv(278, 76%, 60%)
CMYKcmyk(27.6%, 75.7%, 0%, 40.4%)
CIE-LABlab(31.59, 50.88, -48.61)
CIE-LCHlch(31.59, 70.37, 316.31°)
OKLaboklab(43.3% 0.1146 -0.1378)
OKLCHoklch(43.3% 0.179 309.8)
XYZxyz(12.7583, 6.9054, 30.3605)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2598 #4F9825
analogous
#352598 #6E2598 #982589
triadic
#6E2598 #986E25 #25986E
tetradic
#6E2598 #983525 #4F9825 #258998
square
#6E2598 #983525 #4F9825 #258998
split-complementary
#6E2598 #899825 #259835
monochromatic
#270D36 #4A1967 #6E2598 #9231C9 #AC5FD8

Accessibility & contrast

On white

8.82
#6E2598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6E2598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2598
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2598#FFFFFF#000000##FFFFFF
##6E25981.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e2598;
/* rgb */ color: rgb(110, 37, 152);
/* oklch */ color: oklch(43.3% 0.179 309.8);
Tailwind
colors: {
  custom: {
    50: '#9c67b7',
    500: '#6e2598',
    950: '#000000',
  },
}
SCSS
$custom: #6e2598;
$custom-light: #9c67b7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2598",
  "rgb": {
    "r": 110,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 278.087,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43303,
    "c": 0.17924,
    "h": 309.8
  },
  "luminance": 0.06905
}

Semantic roles & 50–950 ramp

primary
#6E2598
secondary
#7FBD5C
accent
#E4447E
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E2598

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

Preview Lab → · Contrast checker → · Palette generator →

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