#6D258F#6D258F

#6D258F is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.5% C 0.170 H 312.4°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#6D258F
RGBrgb(109, 37, 143)
HSLhsl(281, 59%, 35%)
HSVhsv(281, 74%, 56%)
CMYKcmyk(23.8%, 74.1%, 0%, 43.9%)
CIE-LABlab(30.78, 48.68, -44.40)
CIE-LCHlch(30.78, 65.89, 317.63°)
OKLaboklab(42.49% 0.1147 -0.1255)
OKLCHoklch(42.49% 0.17 312.4)
XYZxyz(11.9253, 6.5579, 26.6189)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D258F #478F25
analogous
#38258F #6D258F #8F257C
triadic
#6D258F #8F6D25 #258F6D
tetradic
#6D258F #8F3825 #478F25 #257C8F
square
#6D258F #8F3825 #478F25 #257C8F
split-complementary
#6D258F #7C8F25 #258F38
monochromatic
#230C2E #48185E #6D258F #9232C0 #AD5AD4

Accessibility & contrast

On white

9.08
#6D258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D258F
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D258F#FFFFFF#000000##FFFFFF
##6D258F1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#194A8D
Tritanopia (blue-blind)
#693C58
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6d258f;
/* rgb */ color: rgb(109, 37, 143);
/* oklch */ color: oklch(42.5% 0.170 312.4);
Tailwind
colors: {
  custom: {
    50: '#9b67b0',
    500: '#6d258f',
    950: '#000000',
  },
}
SCSS
$custom: #6d258f;
$custom-light: #9b67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d258f",
  "rgb": {
    "r": 109,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 280.755,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42487,
    "c": 0.17002,
    "h": 312.4
  },
  "luminance": 0.06558
}

Semantic roles & 50–950 ramp

primary
#6D258F
secondary
#76B957
accent
#E24678
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6D258F

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

Preview Lab → · Contrast checker → · Palette generator →

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