#6E238E#6E238E

#6E238E is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.172 H 313.5°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#6E238E
RGBrgb(110, 35, 142)
HSLhsl(282, 60%, 35%)
HSVhsv(282, 75%, 56%)
CMYKcmyk(22.5%, 75.4%, 0%, 44.3%)
CIE-LABlab(30.57, 49.50, -44.12)
CIE-LCHlch(30.57, 66.30, 318.29°)
OKLaboklab(42.35% 0.1183 -0.1246)
OKLCHoklch(42.35% 0.172 313.5)
XYZxyz(11.9131, 6.4704, 26.2073)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E238E #438E23
analogous
#39238E #6E238E #8E2379
triadic
#6E238E #8E6E23 #238E6E
tetradic
#6E238E #8E3923 #438E23 #23798E
square
#6E238E #8E3923 #438E23 #23798E
split-complementary
#6E238E #798E23 #238E39
monochromatic
#220B2C #48175D #6E238E #942FBF #AF56D5

Accessibility & contrast

On white

9.15
#6E238E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6E238E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E238E
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E238E#FFFFFF#000000##FFFFFF
##6E238E1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#1A4A8C
Tritanopia (blue-blind)
#6B3B57
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6e238e;
/* rgb */ color: rgb(110, 35, 142);
/* oklch */ color: oklch(42.3% 0.172 313.5);
Tailwind
colors: {
  custom: {
    50: '#9b66b0',
    500: '#6e238e',
    950: '#000000',
  },
}
SCSS
$custom: #6e238e;
$custom-light: #9b66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e238e",
  "rgb": {
    "r": 110,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 282.056,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42348,
    "c": 0.17177,
    "h": 313.5
  },
  "luminance": 0.0647
}

Semantic roles & 50–950 ramp

primary
#6E238E
secondary
#72B953
accent
#E44474
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E238E

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

Preview Lab → · Contrast checker → · Palette generator →

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