#6A236F#6A236F

#6A236F is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.6% C 0.140 H 325.1°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#6A236F
RGBrgb(106, 35, 111)
HSLhsl(296, 52%, 29%)
HSVhsv(296, 68%, 44%)
CMYKcmyk(4.5%, 68.5%, 0%, 56.5%)
CIE-LABlab(27.88, 42.18, -28.96)
CIE-LCHlch(27.88, 51.16, 325.53°)
OKLaboklab(39.64% 0.1151 -0.0804)
OKLCHoklch(39.64% 0.14 325.1)
XYZxyz(9.4139, 5.4145, 15.5851)
Luminance0.0541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A236F #286F23
analogous
#44236F #6A236F #6F234E
triadic
#6A236F #6F6A23 #236F6A
tetradic
#6A236F #6F4423 #286F23 #234E6F
square
#6A236F #6F4423 #286F23 #234E6F
split-complementary
#6A236F #4E6F23 #236F44
monochromatic
#160717 #3E1440 #6A236F #96329E #BD47C5

Accessibility & contrast

On white

10.08
#6A236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#6A236F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A236F
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A236F#FFFFFF#000000##FFFFFF
##6A236F1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143C71
Deuteranopia (green-blind)
#31456D
Tritanopia (blue-blind)
#6C2E46
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6a236f;
/* rgb */ color: rgb(106, 35, 111);
/* oklch */ color: oklch(39.6% 0.140 325.1);
Tailwind
colors: {
  custom: {
    50: '#976499',
    500: '#6a236f',
    950: '#000000',
  },
}
SCSS
$custom: #6a236f;
$custom-light: #976499;
$custom-dark: #000000;
JSON
{
  "hex": "#6a236f",
  "rgb": {
    "r": 106,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 296.053,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39643,
    "c": 0.14037,
    "h": 325.1
  },
  "luminance": 0.05414
}

Semantic roles & 50–950 ramp

primary
#6A236F
secondary
#51A24C
accent
#DB4C56
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6A236F

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

Preview Lab → · Contrast checker → · Palette generator →

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