#6A249E#6A249E

#6A249E is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.185 H 305.9°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#6A249E
RGBrgb(106, 36, 158)
HSLhsl(274, 63%, 38%)
HSVhsv(274, 77%, 62%)
CMYKcmyk(32.9%, 77.2%, 0%, 38%)
CIE-LABlab(31.33, 51.89, -52.71)
CIE-LCHlch(31.33, 73.96, 314.55°)
OKLaboklab(43.15% 0.1087 -0.15)
OKLCHoklch(43.15% 0.185 305.9)
XYZxyz(12.7449, 6.7947, 32.9812)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A249E #589E24
analogous
#2D249E #6A249E #9E2495
triadic
#6A249E #9E6A24 #249E6A
tetradic
#6A249E #9E2D24 #589E24 #24959E
square
#6A249E #9E2D24 #589E24 #24959E
split-complementary
#6A249E #959E24 #249E2D
monochromatic
#270D3A #49196C #6A249E #8B2FD0 #A761DB

Accessibility & contrast

On white

8.90
#6A249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6A249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A249E
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A249E#FFFFFF#000000##FFFFFF
##6A249E1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#004A9C
Tritanopia (blue-blind)
#614360
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6a249e;
/* rgb */ color: rgb(106, 36, 158);
/* oklch */ color: oklch(43.1% 0.185 305.9);
Tailwind
colors: {
  custom: {
    50: '#9a67bb',
    500: '#6a249e',
    950: '#000000',
  },
}
SCSS
$custom: #6a249e;
$custom-light: #9a67bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a249e",
  "rgb": {
    "r": 106,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 274.426,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43147,
    "c": 0.18523,
    "h": 305.9
  },
  "luminance": 0.06795
}

Semantic roles & 50–950 ramp

primary
#6A249E
secondary
#88C05E
accent
#E64288
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6A249E

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

Preview Lab → · Contrast checker → · Palette generator →

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