#6A269C#6A269C

#6A269C is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.2% C 0.181 H 306.4°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#6A269C
RGBrgb(106, 38, 156)
HSLhsl(275, 61%, 38%)
HSVhsv(275, 76%, 61%)
CMYKcmyk(32.1%, 75.6%, 0%, 38.8%)
CIE-LABlab(31.46, 50.60, -51.28)
CIE-LCHlch(31.46, 72.04, 314.62°)
OKLaboklab(43.19% 0.1073 -0.1458)
OKLCHoklch(43.19% 0.181 306.4)
XYZxyz(12.6364, 6.8508, 32.1027)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A269C #589C26
analogous
#2F269C #6A269C #9C2693
triadic
#6A269C #9C6A26 #269C6A
tetradic
#6A269C #9C2F26 #589C26 #26939C
square
#6A269C #9C2F26 #589C26 #26939C
split-complementary
#6A269C #939C26 #269C2F
monochromatic
#270E3A #491A6B #6A269C #8B32CD #A763D9

Accessibility & contrast

On white

8.86
#6A269C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6A269C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A269C
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A269C#FFFFFF#000000##FFFFFF
##6A269C1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#61435F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6a269c;
/* rgb */ color: rgb(106, 38, 156);
/* oklch */ color: oklch(43.2% 0.181 306.4);
Tailwind
colors: {
  custom: {
    50: '#9968ba',
    500: '#6a269c',
    950: '#000000',
  },
}
SCSS
$custom: #6a269c;
$custom-light: #9968ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6a269c",
  "rgb": {
    "r": 106,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 274.576,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43189,
    "c": 0.18101,
    "h": 306.4
  },
  "luminance": 0.06851
}

Semantic roles & 50–950 ramp

primary
#6A269C
secondary
#88BF5F
accent
#E44488
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6A269C

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

Preview Lab → · Contrast checker → · Palette generator →

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