#6A1E9F#6A1E9F

#6A1E9F is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.7% C 0.192 H 306.2°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#6A1E9F
RGBrgb(106, 30, 159)
HSLhsl(275, 68%, 37%)
HSVhsv(275, 81%, 62%)
CMYKcmyk(33.3%, 81.1%, 0%, 37.6%)
CIE-LABlab(30.63, 54.39, -54.46)
CIE-LCHlch(30.63, 76.97, 314.96°)
OKLaboklab(42.68% 0.1135 -0.1551)
OKLCHoklch(42.68% 0.192 306.2)
XYZxyz(12.6648, 6.4960, 33.3808)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1E9F #539F1E
analogous
#2A1E9F #6A1E9F #9F1E94
triadic
#6A1E9F #9F6A1E #1E9F6A
tetradic
#6A1E9F #9F2A1E #539F1E #1E949F
square
#6A1E9F #9F2A1E #539F1E #1E949F
split-complementary
#6A1E9F #949F1E #1E9F2A
monochromatic
#250B38 #48146C #6A1E9F #8C28D2 #A858DF

Accessibility & contrast

On white

9.13
#6A1E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6A1E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1E9F
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1E9F#FFFFFF#000000##FFFFFF
##6A1E9F1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#60405F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6a1e9f;
/* rgb */ color: rgb(106, 30, 159);
/* oklch */ color: oklch(42.7% 0.192 306.2);
Tailwind
colors: {
  custom: {
    50: '#9a64bc',
    500: '#6a1e9f',
    950: '#000000',
  },
}
SCSS
$custom: #6a1e9f;
$custom-light: #9a64bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1e9f",
  "rgb": {
    "r": 106,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 275.349,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4268,
    "c": 0.19218,
    "h": 306.2
  },
  "luminance": 0.06496
}

Semantic roles & 50–950 ramp

primary
#6A1E9F
secondary
#83C356
accent
#EB3D84
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6A1E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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