#6D258B#6D258B

#6D258B is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.166 H 313.9°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#6D258B
RGBrgb(109, 37, 139)
HSLhsl(282, 58%, 35%)
HSVhsv(282, 73%, 55%)
CMYKcmyk(21.6%, 73.4%, 0%, 45.5%)
CIE-LABlab(30.49, 47.81, -42.39)
CIE-LCHlch(30.49, 63.89, 318.44°)
OKLaboklab(42.19% 0.1153 -0.1196)
OKLCHoklch(42.19% 0.166 313.9)
XYZxyz(11.6276, 6.4388, 25.0514)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D258B #438B25
analogous
#3A258B #6D258B #8B2576
triadic
#6D258B #8B6D25 #258B6D
tetradic
#6D258B #8B3A25 #438B25 #25768B
square
#6D258B #8B3A25 #438B25 #25768B
split-complementary
#6D258B #768B25 #258B3A
monochromatic
#210B2A #47185B #6D258B #9332BB #AE58D3

Accessibility & contrast

On white

9.18
#6D258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D258B
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D258B#FFFFFF#000000##FFFFFF
##6D258B1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#1E4989
Tritanopia (blue-blind)
#6A3B56
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6d258b;
/* rgb */ color: rgb(109, 37, 139);
/* oklch */ color: oklch(42.2% 0.166 313.9);
Tailwind
colors: {
  custom: {
    50: '#9a67ad',
    500: '#6d258b',
    950: '#000000',
  },
}
SCSS
$custom: #6d258b;
$custom-light: #9a67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6d258b",
  "rgb": {
    "r": 109,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 282.353,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42194,
    "c": 0.16606,
    "h": 313.9
  },
  "luminance": 0.06438
}

Semantic roles & 50–950 ramp

primary
#6D258B
secondary
#72B755
accent
#E14774
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6D258B

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

Preview Lab → · Contrast checker → · Palette generator →

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