#6A2094#6A2094

#6A2094 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.180 H 309.6°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#6A2094
RGBrgb(106, 32, 148)
HSLhsl(278, 64%, 35%)
HSVhsv(278, 78%, 58%)
CMYKcmyk(28.4%, 78.4%, 0%, 42%)
CIE-LABlab(30.00, 51.19, -48.77)
CIE-LCHlch(30.00, 70.70, 316.39°)
OKLaboklab(41.96% 0.1145 -0.1384)
OKLCHoklch(41.96% 0.18 309.6)
XYZxyz(11.8046, 6.2356, 28.5930)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2094 #4A9420
analogous
#302094 #6A2094 #942084
triadic
#6A2094 #946A20 #20946A
tetradic
#6A2094 #943020 #4A9420 #208494
square
#6A2094 #943020 #4A9420 #208494
split-complementary
#6A2094 #849420 #209430
monochromatic
#220A2F #461562 #6A2094 #8E2BC6 #AA54DA

Accessibility & contrast

On white

9.35
#6A2094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6A2094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2094
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2094#FFFFFF#000000##FFFFFF
##6A20941.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#004892
Tritanopia (blue-blind)
#643C59
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6a2094;
/* rgb */ color: rgb(106, 32, 148);
/* oklch */ color: oklch(42.0% 0.180 309.6);
Tailwind
colors: {
  custom: {
    50: '#9964b4',
    500: '#6a2094',
    950: '#000000',
  },
}
SCSS
$custom: #6a2094;
$custom-light: #9964b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2094",
  "rgb": {
    "r": 106,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 278.276,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41961,
    "c": 0.17961,
    "h": 309.6
  },
  "luminance": 0.06235
}

Semantic roles & 50–950 ramp

primary
#6A2094
secondary
#79BE52
accent
#E7407D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A2094

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

Preview Lab → · Contrast checker → · Palette generator →

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