#6A258A#6A258A

#6A258A is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.164 H 312.8°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#6A258A
RGBrgb(106, 37, 138)
HSLhsl(281, 58%, 34%)
HSVhsv(281, 73%, 54%)
CMYKcmyk(23.2%, 73.2%, 0%, 45.9%)
CIE-LABlab(29.97, 46.94, -42.64)
CIE-LCHlch(29.97, 63.42, 317.75°)
OKLaboklab(41.7% 0.1113 -0.1204)
OKLCHoklch(41.7% 0.164 312.8)
XYZxyz(11.1921, 6.2226, 24.6513)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A258A #458A25
analogous
#38258A #6A258A #8A2578
triadic
#6A258A #8A6A25 #258A6A
tetradic
#6A258A #8A3825 #458A25 #25788A
square
#6A258A #8A3825 #458A25 #25788A
split-complementary
#6A258A #788A25 #258A38
monochromatic
#200B29 #45185A #6A258A #8F32BA #AB57D2

Accessibility & contrast

On white

9.36
#6A258A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6A258A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A258A
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A258A#FFFFFF#000000##FFFFFF
##6A258A1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#1B4888
Tritanopia (blue-blind)
#663B55
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6a258a;
/* rgb */ color: rgb(106, 37, 138);
/* oklch */ color: oklch(41.7% 0.164 312.8);
Tailwind
colors: {
  custom: {
    50: '#9866ad',
    500: '#6a258a',
    950: '#000000',
  },
}
SCSS
$custom: #6a258a;
$custom-light: #9866ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6a258a",
  "rgb": {
    "r": 106,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 280.99,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41703,
    "c": 0.16399,
    "h": 312.8
  },
  "luminance": 0.06222
}

Semantic roles & 50–950 ramp

primary
#6A258A
secondary
#73B754
accent
#E14778
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6A258A

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

Preview Lab → · Contrast checker → · Palette generator →

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