#6E258F#6E258F

#6E258F is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.170 H 312.9°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#6E258F
RGBrgb(110, 37, 143)
HSLhsl(281, 59%, 35%)
HSVhsv(281, 74%, 56%)
CMYKcmyk(23.1%, 74.1%, 0%, 43.9%)
CIE-LABlab(30.93, 48.89, -44.15)
CIE-LCHlch(30.93, 65.88, 317.92°)
OKLaboklab(42.63% 0.1161 -0.1247)
OKLCHoklch(42.63% 0.17 312.9)
XYZxyz(12.0490, 6.6217, 26.6247)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E258F #468F25
analogous
#39258F #6E258F #8F257B
triadic
#6E258F #8F6E25 #258F6E
tetradic
#6E258F #8F3925 #468F25 #257B8F
square
#6E258F #8F3925 #468F25 #257B8F
split-complementary
#6E258F #7B8F25 #258F39
monochromatic
#230C2E #49185E #6E258F #9332C0 #AE5AD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E258F#FFFFFF#000000##FFFFFF
##6E258F1.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)
#004592
Deuteranopia (green-blind)
#1A4A8D
Tritanopia (blue-blind)
#6A3C58
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6e258f;
/* rgb */ color: rgb(110, 37, 143);
/* oklch */ color: oklch(42.6% 0.170 312.9);
Tailwind
colors: {
  custom: {
    50: '#9b67b0',
    500: '#6e258f',
    950: '#000000',
  },
}
SCSS
$custom: #6e258f;
$custom-light: #9b67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e258f",
  "rgb": {
    "r": 110,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 281.321,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42626,
    "c": 0.17036,
    "h": 312.9
  },
  "luminance": 0.06621
}

Semantic roles & 50–950 ramp

primary
#6E258F
secondary
#75B957
accent
#E24676
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6E258F

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

Preview Lab → · Contrast checker → · Palette generator →

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