#6A239A#6A239A

#6A239A is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.7% C 0.182 H 307.3°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#6A239A
RGBrgb(106, 35, 154)
HSLhsl(276, 63%, 37%)
HSVhsv(276, 77%, 60%)
CMYKcmyk(31.2%, 77.3%, 0%, 39.6%)
CIE-LABlab(30.88, 51.37, -51.01)
CIE-LCHlch(30.88, 72.40, 315.20°)
OKLaboklab(42.73% 0.1105 -0.145)
OKLCHoklch(42.73% 0.182 307.3)
XYZxyz(12.3764, 6.5995, 31.1874)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A239A #539A23
analogous
#2E239A #6A239A #9A238F
triadic
#6A239A #9A6A23 #239A6A
tetradic
#6A239A #9A2E23 #539A23 #238F9A
square
#6A239A #9A2E23 #539A23 #238F9A
split-complementary
#6A239A #8F9A23 #239A2E
monochromatic
#250C36 #481868 #6A239A #8C2ECC #A85DDA

Accessibility & contrast

On white

9.05
#6A239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6A239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A239A
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A239A#FFFFFF#000000##FFFFFF
##6A239A1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#004998
Tritanopia (blue-blind)
#62405D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6a239a;
/* rgb */ color: rgb(106, 35, 154);
/* oklch */ color: oklch(42.7% 0.182 307.3);
Tailwind
colors: {
  custom: {
    50: '#9966b9',
    500: '#6a239a',
    950: '#000000',
  },
}
SCSS
$custom: #6a239a;
$custom-light: #9966b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a239a",
  "rgb": {
    "r": 106,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 275.798,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42726,
    "c": 0.1823,
    "h": 307.3
  },
  "luminance": 0.06599
}

Semantic roles & 50–950 ramp

primary
#6A239A
secondary
#83BF5A
accent
#E64284
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A239A

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

Preview Lab → · Contrast checker → · Palette generator →

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