#6E258C#6E258C

#6E258C is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.167 H 314.1°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#6E258C
RGBrgb(110, 37, 140)
HSLhsl(283, 58%, 35%)
HSVhsv(283, 74%, 55%)
CMYKcmyk(21.4%, 73.6%, 0%, 45.1%)
CIE-LABlab(30.72, 48.24, -42.64)
CIE-LCHlch(30.72, 64.39, 318.52°)
OKLaboklab(42.41% 0.1165 -0.1203)
OKLCHoklch(42.41% 0.167 314.1)
XYZxyz(11.8248, 6.5320, 25.4438)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E258C #438C25
analogous
#3A258C #6E258C #8C2577
triadic
#6E258C #8C6E25 #258C6E
tetradic
#6E258C #8C3A25 #438C25 #25778C
square
#6E258C #8C3A25 #438C25 #25778C
split-complementary
#6E258C #778C25 #258C3A
monochromatic
#220B2B #48185C #6E258C #9432BC #AF58D3

Accessibility & contrast

On white

9.11
#6E258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6E258C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E258C
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E258C#FFFFFF#000000##FFFFFF
##6E258C1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#1F4A8A
Tritanopia (blue-blind)
#6B3B56
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6e258c;
/* rgb */ color: rgb(110, 37, 140);
/* oklch */ color: oklch(42.4% 0.167 314.1);
Tailwind
colors: {
  custom: {
    50: '#9b67ae',
    500: '#6e258c',
    950: '#000000',
  },
}
SCSS
$custom: #6e258c;
$custom-light: #9b67ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6e258c",
  "rgb": {
    "r": 110,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 282.524,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42407,
    "c": 0.16742,
    "h": 314.1
  },
  "luminance": 0.06532
}

Semantic roles & 50–950 ramp

primary
#6E258C
secondary
#72B855
accent
#E14674
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E258C

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

Preview Lab → · Contrast checker → · Palette generator →

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