#6A239B#6A239B

#6A239B is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.183 H 307.0°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#6A239B
RGBrgb(106, 35, 155)
HSLhsl(276, 63%, 37%)
HSVhsv(276, 77%, 61%)
CMYKcmyk(31.6%, 77.4%, 0%, 39.2%)
CIE-LABlab(30.96, 51.60, -51.50)
CIE-LCHlch(30.96, 72.90, 315.06°)
OKLaboklab(42.81% 0.1103 -0.1464)
OKLCHoklch(42.81% 0.183 307)
XYZxyz(12.4600, 6.6329, 31.6279)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A239B #549B23
analogous
#2E239B #6A239B #9B2390
triadic
#6A239B #9B6A23 #239B6A
tetradic
#6A239B #9B2E23 #549B23 #23909B
square
#6A239B #9B2E23 #549B23 #23909B
split-complementary
#6A239B #909B23 #239B2E
monochromatic
#260C37 #481869 #6A239B #8C2ECD #A85EDB

Accessibility & contrast

On white

9.03
#6A239B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A239B
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A239B#FFFFFF#000000##FFFFFF
##6A239B1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#004999
Tritanopia (blue-blind)
#62415E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6a239b;
/* rgb */ color: rgb(106, 35, 155);
/* oklch */ color: oklch(42.8% 0.183 307.0);
Tailwind
colors: {
  custom: {
    50: '#9a66b9',
    500: '#6a239b',
    950: '#000000',
  },
}
SCSS
$custom: #6a239b;
$custom-light: #9a66b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a239b",
  "rgb": {
    "r": 106,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 275.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42807,
    "c": 0.1833,
    "h": 307
  },
  "luminance": 0.06633
}

Semantic roles & 50–950 ramp

primary
#6A239B
secondary
#84BF5A
accent
#E64285
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6A239B

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

Preview Lab → · Contrast checker → · Palette generator →

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