#6C258C#6C258C

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

Color values

HEX#6C258C
RGBrgb(108, 37, 140)
HSLhsl(281, 58%, 35%)
HSVhsv(281, 74%, 55%)
CMYKcmyk(22.9%, 73.6%, 0%, 45.1%)
CIE-LABlab(30.41, 47.81, -43.15)
CIE-LCHlch(30.41, 64.40, 317.93°)
OKLaboklab(42.13% 0.1138 -0.1218)
OKLCHoklch(42.13% 0.167 313)
XYZxyz(11.5787, 6.4051, 25.4322)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C258C #458C25
analogous
#38258C #6C258C #8C2579
triadic
#6C258C #8C6C25 #258C6C
tetradic
#6C258C #8C3825 #458C25 #25798C
square
#6C258C #8C3825 #458C25 #25798C
split-complementary
#6C258C #798C25 #258C38
monochromatic
#210B2B #47185C #6C258C #9132BC #AD58D3

Accessibility & contrast

On white

9.21
#6C258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C258C
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C258C#FFFFFF#000000##FFFFFF
##6C258C1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#1B498A
Tritanopia (blue-blind)
#693B56
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6c258c;
/* rgb */ color: rgb(108, 37, 140);
/* oklch */ color: oklch(42.1% 0.167 313.0);
Tailwind
colors: {
  custom: {
    50: '#9a67ae',
    500: '#6c258c',
    950: '#000000',
  },
}
SCSS
$custom: #6c258c;
$custom-light: #9a67ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6c258c",
  "rgb": {
    "r": 108,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 281.359,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42128,
    "c": 0.16669,
    "h": 313
  },
  "luminance": 0.06405
}

Semantic roles & 50–950 ramp

primary
#6C258C
secondary
#74B855
accent
#E14677
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6C258C

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

Preview Lab → · Contrast checker → · Palette generator →

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