#6E239F#6E239F

#6E239F is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.7% C 0.188 H 307.7°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#6E239F
RGBrgb(110, 35, 159)
HSLhsl(276, 64%, 38%)
HSVhsv(276, 78%, 62%)
CMYKcmyk(30.8%, 78%, 0%, 37.6%)
CIE-LABlab(31.85, 53.24, -52.44)
CIE-LCHlch(31.85, 74.73, 315.43°)
OKLaboklab(43.66% 0.115 -0.149)
OKLCHoklch(43.66% 0.188 307.7)
XYZxyz(13.2881, 7.0205, 33.4492)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E239F #549F23
analogous
#30239F #6E239F #9F2392
triadic
#6E239F #9F6E23 #239F6E
tetradic
#6E239F #9F3023 #549F23 #23929F
square
#6E239F #9F3023 #549F23 #23929F
split-complementary
#6E239F #929F23 #239F30
monochromatic
#290D3B #4B186D #6E239F #912ED1 #AB60DC

Accessibility & contrast

On white

8.74
#6E239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6E239F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E239F
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E239F#FFFFFF#000000##FFFFFF
##6E239F1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#004C9C
Tritanopia (blue-blind)
#664260
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6e239f;
/* rgb */ color: rgb(110, 35, 159);
/* oklch */ color: oklch(43.7% 0.188 307.7);
Tailwind
colors: {
  custom: {
    50: '#9d67bc',
    500: '#6e239f',
    950: '#000000',
  },
}
SCSS
$custom: #6e239f;
$custom-light: #9d67bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6e239f",
  "rgb": {
    "r": 110,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 276.29,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43657,
    "c": 0.18828,
    "h": 307.7
  },
  "luminance": 0.0702
}

Semantic roles & 50–950 ramp

primary
#6E239F
secondary
#84C15D
accent
#E74182
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E239F

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

Preview Lab → · Contrast checker → · Palette generator →

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