#6D258E#6D258E

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

Color values

HEX#6D258E
RGBrgb(109, 37, 142)
HSLhsl(281, 59%, 35%)
HSVhsv(281, 74%, 56%)
CMYKcmyk(23.2%, 73.9%, 0%, 44.3%)
CIE-LABlab(30.71, 48.46, -43.90)
CIE-LCHlch(30.71, 65.39, 317.83°)
OKLaboklab(42.41% 0.1149 -0.124)
OKLCHoklch(42.41% 0.169 312.8)
XYZxyz(11.8499, 6.5277, 26.2217)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D258E #468E25
analogous
#39258E #6D258E #8E257A
triadic
#6D258E #8E6D25 #258E6D
tetradic
#6D258E #8E3925 #468E25 #257A8E
square
#6D258E #8E3925 #468E25 #257A8E
split-complementary
#6D258E #7A8E25 #258E39
monochromatic
#220C2D #48185D #6D258E #9232BF #AD5AD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D258E#FFFFFF#000000##FFFFFF
##6D258E1.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)
#004591
Deuteranopia (green-blind)
#1A4A8C
Tritanopia (blue-blind)
#693C57
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6d258e;
/* rgb */ color: rgb(109, 37, 142);
/* oklch */ color: oklch(42.4% 0.169 312.8);
Tailwind
colors: {
  custom: {
    50: '#9b67b0',
    500: '#6d258e',
    950: '#000000',
  },
}
SCSS
$custom: #6d258e;
$custom-light: #9b67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d258e",
  "rgb": {
    "r": 109,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 281.143,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42413,
    "c": 0.16902,
    "h": 312.8
  },
  "luminance": 0.06527
}

Semantic roles & 50–950 ramp

primary
#6D258E
secondary
#75B956
accent
#E24677
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6D258E

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

Preview Lab → · Contrast checker → · Palette generator →

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