#6B2494#6B2494

#6B2494 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.175 H 309.7°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#6B2494
RGBrgb(107, 36, 148)
HSLhsl(278, 61%, 36%)
HSVhsv(278, 76%, 58%)
CMYKcmyk(27.7%, 75.7%, 0%, 42%)
CIE-LABlab(30.70, 49.80, -47.62)
CIE-LCHlch(30.70, 68.90, 316.28°)
OKLaboklab(42.49% 0.1122 -0.135)
OKLCHoklch(42.49% 0.176 309.7)
XYZxyz(12.0385, 6.5259, 28.6367)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2494 #4D9424
analogous
#332494 #6B2494 #942485
triadic
#6B2494 #946B24 #24946B
tetradic
#6B2494 #943324 #4D9424 #248594
square
#6B2494 #943324 #4D9424 #248594
split-complementary
#6B2494 #859424 #249433
monochromatic
#240C32 #471863 #6B2494 #8F30C5 #AA5BD7

Accessibility & contrast

On white

9.11
#6B2494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6B2494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2494
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2494#FFFFFF#000000##FFFFFF
##6B24941.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#064992
Tritanopia (blue-blind)
#653E5A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6b2494;
/* rgb */ color: rgb(107, 36, 148);
/* oklch */ color: oklch(42.5% 0.175 309.7);
Tailwind
colors: {
  custom: {
    50: '#9a66b4',
    500: '#6b2494',
    950: '#000000',
  },
}
SCSS
$custom: #6b2494;
$custom-light: #9a66b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2494",
  "rgb": {
    "r": 107,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 278.036,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42488,
    "c": 0.1755,
    "h": 309.7
  },
  "luminance": 0.06526
}

Semantic roles & 50–950 ramp

primary
#6B2494
secondary
#7DBC58
accent
#E4447E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6B2494

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

Preview Lab → · Contrast checker → · Palette generator →

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