#6D258A#6D258A

#6D258A is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.165 H 314.3°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#6D258A
RGBrgb(109, 37, 138)
HSLhsl(283, 58%, 34%)
HSVhsv(283, 73%, 54%)
CMYKcmyk(21%, 73.2%, 0%, 45.9%)
CIE-LABlab(30.42, 47.59, -41.88)
CIE-LCHlch(30.42, 63.40, 318.65°)
OKLaboklab(42.12% 0.1154 -0.1181)
OKLCHoklch(42.12% 0.165 314.3)
XYZxyz(11.5549, 6.4097, 24.6684)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D258A #428A25
analogous
#3B258A #6D258A #8A2575
triadic
#6D258A #8A6D25 #258A6D
tetradic
#6D258A #8A3B25 #428A25 #25758A
square
#6D258A #8A3B25 #428A25 #25758A
split-complementary
#6D258A #758A25 #258A3B
monochromatic
#210B29 #47185A #6D258A #9332BA #AF57D2

Accessibility & contrast

On white

9.20
#6D258A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6D258A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D258A
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D258A#FFFFFF#000000##FFFFFF
##6D258A1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#204988
Tritanopia (blue-blind)
#6A3A55
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6d258a;
/* rgb */ color: rgb(109, 37, 138);
/* oklch */ color: oklch(42.1% 0.165 314.3);
Tailwind
colors: {
  custom: {
    50: '#9a67ad',
    500: '#6d258a',
    950: '#000000',
  },
}
SCSS
$custom: #6d258a;
$custom-light: #9a67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6d258a",
  "rgb": {
    "r": 109,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 282.772,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42122,
    "c": 0.16509,
    "h": 314.3
  },
  "luminance": 0.06409
}

Semantic roles & 50–950 ramp

primary
#6D258A
secondary
#70B754
accent
#E14773
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6D258A

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

Preview Lab → · Contrast checker → · Palette generator →

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