#6C258E#6C258E

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

Color values

HEX#6C258E
RGBrgb(108, 37, 142)
HSLhsl(281, 59%, 35%)
HSVhsv(281, 74%, 56%)
CMYKcmyk(23.9%, 73.9%, 0%, 44.3%)
CIE-LABlab(30.56, 48.25, -44.15)
CIE-LCHlch(30.56, 65.40, 317.54°)
OKLaboklab(42.28% 0.1135 -0.1248)
OKLCHoklch(42.28% 0.169 312.3)
XYZxyz(11.7275, 6.4646, 26.2160)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C258E #478E25
analogous
#37258E #6C258E #8E257C
triadic
#6C258E #8E6C25 #258E6C
tetradic
#6C258E #8E3725 #478E25 #257C8E
square
#6C258E #8E3725 #478E25 #257C8E
split-complementary
#6C258E #7C8E25 #258E37
monochromatic
#220C2D #47185D #6C258E #9132BF #AC5AD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C258E#FFFFFF#000000##FFFFFF
##6C258E1.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)
#004491
Deuteranopia (green-blind)
#18498C
Tritanopia (blue-blind)
#683C57
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6c258e;
/* rgb */ color: rgb(108, 37, 142);
/* oklch */ color: oklch(42.3% 0.169 312.3);
Tailwind
colors: {
  custom: {
    50: '#9a67b0',
    500: '#6c258e',
    950: '#000000',
  },
}
SCSS
$custom: #6c258e;
$custom-light: #9a67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c258e",
  "rgb": {
    "r": 108,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 280.571,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42275,
    "c": 0.16868,
    "h": 312.3
  },
  "luminance": 0.06464
}

Semantic roles & 50–950 ramp

primary
#6C258E
secondary
#76B956
accent
#E24678
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6C258E

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

Preview Lab → · Contrast checker → · Palette generator →

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