#6D258C#6D258C

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

Color values

HEX#6D258C
RGBrgb(109, 37, 140)
HSLhsl(282, 58%, 35%)
HSVhsv(282, 74%, 55%)
CMYKcmyk(22.1%, 73.6%, 0%, 45.1%)
CIE-LABlab(30.56, 48.02, -42.90)
CIE-LCHlch(30.56, 64.39, 318.23°)
OKLaboklab(42.27% 0.1151 -0.121)
OKLCHoklch(42.27% 0.167 313.6)
XYZxyz(11.7010, 6.4682, 25.4380)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D258C #448C25
analogous
#3A258C #6D258C #8C2577
triadic
#6D258C #8C6D25 #258C6D
tetradic
#6D258C #8C3A25 #448C25 #25778C
square
#6D258C #8C3A25 #448C25 #25778C
split-complementary
#6D258C #778C25 #258C3A
monochromatic
#220B2B #47185C #6D258C #9332BC #AE58D3

Accessibility & contrast

On white

9.16
#6D258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D258C
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D258C#FFFFFF#000000##FFFFFF
##6D258C1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d258c;
/* rgb */ color: rgb(109, 37, 140);
/* oklch */ color: oklch(42.3% 0.167 313.6);
Tailwind
colors: {
  custom: {
    50: '#9a67ae',
    500: '#6d258c',
    950: '#000000',
  },
}
SCSS
$custom: #6d258c;
$custom-light: #9a67ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6d258c",
  "rgb": {
    "r": 109,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 281.942,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42267,
    "c": 0.16705,
    "h": 313.6
  },
  "luminance": 0.06468
}

Semantic roles & 50–950 ramp

primary
#6D258C
secondary
#73B855
accent
#E14675
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6D258C

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

Preview Lab → · Contrast checker → · Palette generator →

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