#6A239C#6A239C

#6A239C is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.9% C 0.184 H 306.7°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#6A239C
RGBrgb(106, 35, 156)
HSLhsl(275, 63%, 37%)
HSVhsv(275, 78%, 61%)
CMYKcmyk(32.1%, 77.6%, 0%, 38.8%)
CIE-LABlab(31.04, 51.83, -51.98)
CIE-LCHlch(31.04, 73.40, 314.92°)
OKLaboklab(42.89% 0.1101 -0.1478)
OKLCHoklch(42.89% 0.184 306.7)
XYZxyz(12.5443, 6.6667, 32.0720)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A239C #559C23
analogous
#2E239C #6A239C #9C2391
triadic
#6A239C #9C6A23 #239C6A
tetradic
#6A239C #9C2E23 #559C23 #23919C
square
#6A239C #9C2E23 #559C23 #23919C
split-complementary
#6A239C #919C23 #239C2E
monochromatic
#260D38 #48186A #6A239C #8C2ECE #A85EDB

Accessibility & contrast

On white

9.00
#6A239C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6A239C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A239C
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A239C#FFFFFF#000000##FFFFFF
##6A239C1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#00499A
Tritanopia (blue-blind)
#61415F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6a239c;
/* rgb */ color: rgb(106, 35, 156);
/* oklch */ color: oklch(42.9% 0.184 306.7);
Tailwind
colors: {
  custom: {
    50: '#9a66ba',
    500: '#6a239c',
    950: '#000000',
  },
}
SCSS
$custom: #6a239c;
$custom-light: #9a66ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6a239c",
  "rgb": {
    "r": 106,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 275.207,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42887,
    "c": 0.18429,
    "h": 306.7
  },
  "luminance": 0.06667
}

Semantic roles & 50–950 ramp

primary
#6A239C
secondary
#85C05B
accent
#E64186
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6A239C

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

Preview Lab → · Contrast checker → · Palette generator →

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