#6E4598#6E4598

#6E4598 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 47.6% C 0.134 H 304.6°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#6E4598
RGBrgb(110, 69, 152)
HSLhsl(270, 38%, 43%)
HSVhsv(270, 55%, 60%)
CMYKcmyk(27.6%, 54.6%, 0%, 40.4%)
CIE-LABlab(37.55, 34.64, -39.03)
CIE-LCHlch(37.55, 52.19, 311.59°)
OKLaboklab(47.62% 0.0759 -0.1098)
OKLCHoklch(47.62% 0.134 304.6)
XYZxyz(14.2248, 9.8383, 30.8493)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E4598 #6F9845
analogous
#454598 #6E4598 #974598
triadic
#6E4598 #986E45 #45986E
tetradic
#6E4598 #984545 #6F9845 #459897
square
#6E4598 #984545 #6F9845 #459897
split-complementary
#6E4598 #989745 #459845
monochromatic
#311F44 #50326E #6E4598 #8D62B8 #AB8CCB

Accessibility & contrast

On white

7.08
#6E4598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6E4598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E4598
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E4598#FFFFFF#000000##FFFFFF
##6E45981.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29579B
Deuteranopia (green-blind)
#365896
Tritanopia (blue-blind)
#675468
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6e4598;
/* rgb */ color: rgb(110, 69, 152);
/* oklch */ color: oklch(47.6% 0.134 304.6);
Tailwind
colors: {
  custom: {
    50: '#9a7ab7',
    500: '#6e4598',
    950: '#000000',
  },
}
SCSS
$custom: #6e4598;
$custom-light: #9a7ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e4598",
  "rgb": {
    "r": 110,
    "g": 69,
    "b": 152
  },
  "hsl": {
    "h": 269.639,
    "s": 37.557,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47615,
    "c": 0.13352,
    "h": 304.6
  },
  "luminance": 0.09838
}

Semantic roles & 50–950 ramp

primary
#6E4598
secondary
#9DB682
accent
#CE5A95
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0911
muted
#7E7B80

Preview Lab

Preview with #6E4598

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

Preview Lab → · Contrast checker → · Palette generator →

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