#6A258D#6A258D

#6A258D is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.9% C 0.167 H 311.6°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#6A258D
RGBrgb(106, 37, 141)
HSLhsl(280, 58%, 35%)
HSVhsv(280, 74%, 55%)
CMYKcmyk(24.8%, 73.8%, 0%, 44.7%)
CIE-LABlab(30.18, 47.60, -44.15)
CIE-LCHlch(30.18, 64.93, 317.15°)
OKLaboklab(41.93% 0.1109 -0.1248)
OKLCHoklch(41.93% 0.167 311.6)
XYZxyz(11.4122, 6.3107, 25.8110)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A258D #488D25
analogous
#36258D #6A258D #8D257C
triadic
#6A258D #8D6A25 #258D6A
tetradic
#6A258D #8D3625 #488D25 #257C8D
square
#6A258D #8D3625 #488D25 #257C8D
split-complementary
#6A258D #7C8D25 #258D36
monochromatic
#210C2C #46185D #6A258D #8E32BD #AA59D3

Accessibility & contrast

On white

9.28
#6A258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6A258D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A258D
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A258D#FFFFFF#000000##FFFFFF
##6A258D1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#16488B
Tritanopia (blue-blind)
#663C57
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6a258d;
/* rgb */ color: rgb(106, 37, 141);
/* oklch */ color: oklch(41.9% 0.167 311.6);
Tailwind
colors: {
  custom: {
    50: '#9866af',
    500: '#6a258d',
    950: '#000000',
  },
}
SCSS
$custom: #6a258d;
$custom-light: #9866af;
$custom-dark: #000000;
JSON
{
  "hex": "#6a258d",
  "rgb": {
    "r": 106,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 279.808,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41925,
    "c": 0.167,
    "h": 311.6
  },
  "luminance": 0.0631
}

Semantic roles & 50–950 ramp

primary
#6A258D
secondary
#77B856
accent
#E2467A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6A258D

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

Preview Lab → · Contrast checker → · Palette generator →

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