#6C258A#6C258A

#6C258A is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.165 H 313.8°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#6C258A
RGBrgb(108, 37, 138)
HSLhsl(282, 58%, 34%)
HSVhsv(282, 73%, 54%)
CMYKcmyk(21.7%, 73.2%, 0%, 45.9%)
CIE-LABlab(30.27, 47.37, -42.14)
CIE-LCHlch(30.27, 63.40, 318.35°)
OKLaboklab(41.98% 0.114 -0.1189)
OKLCHoklch(41.98% 0.165 313.8)
XYZxyz(11.4326, 6.3466, 24.6626)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C258A #438A25
analogous
#3A258A #6C258A #8A2576
triadic
#6C258A #8A6C25 #258A6C
tetradic
#6C258A #8A3A25 #438A25 #25768A
square
#6C258A #8A3A25 #438A25 #25768A
split-complementary
#6C258A #768A25 #258A3A
monochromatic
#200B29 #46185A #6C258A #9232BA #AE57D2

Accessibility & contrast

On white

9.25
#6C258A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#6C258A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C258A
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C258A#FFFFFF#000000##FFFFFF
##6C258A1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#1E4988
Tritanopia (blue-blind)
#693A55
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6c258a;
/* rgb */ color: rgb(108, 37, 138);
/* oklch */ color: oklch(42.0% 0.165 313.8);
Tailwind
colors: {
  custom: {
    50: '#9a66ad',
    500: '#6c258a',
    950: '#000000',
  },
}
SCSS
$custom: #6c258a;
$custom-light: #9a66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6c258a",
  "rgb": {
    "r": 108,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 282.178,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41982,
    "c": 0.16471,
    "h": 313.8
  },
  "luminance": 0.06346
}

Semantic roles & 50–950 ramp

primary
#6C258A
secondary
#71B754
accent
#E14775
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6C258A

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

Preview Lab → · Contrast checker → · Palette generator →

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