#6E2098#6E2098

#6E2098 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.185 H 310.2°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#6E2098
RGBrgb(110, 32, 152)
HSLhsl(279, 65%, 36%)
HSVhsv(279, 79%, 60%)
CMYKcmyk(27.6%, 78.9%, 0%, 40.4%)
CIE-LABlab(30.91, 52.82, -49.70)
CIE-LCHlch(30.91, 72.53, 316.74°)
OKLaboklab(42.83% 0.1192 -0.141)
OKLCHoklch(42.83% 0.185 310.2)
XYZxyz(12.6133, 6.6153, 30.3121)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2098 #4A9820
analogous
#322098 #6E2098 #982086
triadic
#6E2098 #986E20 #20986E
tetradic
#6E2098 #983220 #4A9820 #208698
square
#6E2098 #983220 #4A9820 #208698
split-complementary
#6E2098 #869820 #209832
monochromatic
#250B33 #491565 #6E2098 #932BCB #AD57DC

Accessibility & contrast

On white

9.04
#6E2098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6E2098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2098
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2098#FFFFFF#000000##FFFFFF
##6E20981.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#683E5C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6e2098;
/* rgb */ color: rgb(110, 32, 152);
/* oklch */ color: oklch(42.8% 0.185 310.2);
Tailwind
colors: {
  custom: {
    50: '#9c65b7',
    500: '#6e2098',
    950: '#000000',
  },
}
SCSS
$custom: #6e2098;
$custom-light: #9c65b7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2098",
  "rgb": {
    "r": 110,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 279,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42827,
    "c": 0.18463,
    "h": 310.2
  },
  "luminance": 0.06615
}

Semantic roles & 50–950 ramp

primary
#6E2098
secondary
#7ABF54
accent
#E8407B
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E2098

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

Preview Lab → · Contrast checker → · Palette generator →

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