#6A249F#6A249F

#6A249F is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.186 H 305.6°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#6A249F
RGBrgb(106, 36, 159)
HSLhsl(274, 63%, 38%)
HSVhsv(274, 77%, 62%)
CMYKcmyk(33.3%, 77.4%, 0%, 37.6%)
CIE-LABlab(31.41, 52.12, -53.18)
CIE-LCHlch(31.41, 74.47, 314.42°)
OKLaboklab(43.23% 0.1085 -0.1514)
OKLCHoklch(43.23% 0.186 305.6)
XYZxyz(12.8313, 6.8292, 33.4364)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A249F #599F24
analogous
#2C249F #6A249F #9F2496
triadic
#6A249F #9F6A24 #249F6A
tetradic
#6A249F #9F2C24 #599F24 #24969F
square
#6A249F #9F2C24 #599F24 #24969F
split-complementary
#6A249F #969F24 #249F2C
monochromatic
#270D3B #49196D #6A249F #8B30D0 #A762DB

Accessibility & contrast

On white

8.88
#6A249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A249F
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A249F#FFFFFF#000000##FFFFFF
##6A249F1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#604360
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6a249f;
/* rgb */ color: rgb(106, 36, 159);
/* oklch */ color: oklch(43.2% 0.186 305.6);
Tailwind
colors: {
  custom: {
    50: '#9a67bc',
    500: '#6a249f',
    950: '#000000',
  },
}
SCSS
$custom: #6a249f;
$custom-light: #9a67bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a249f",
  "rgb": {
    "r": 106,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 274.146,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43229,
    "c": 0.18623,
    "h": 305.6
  },
  "luminance": 0.06829
}

Semantic roles & 50–950 ramp

primary
#6A249F
secondary
#89C15E
accent
#E64289
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6A249F

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

Preview Lab → · Contrast checker → · Palette generator →

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