#6124AF#6124AF

#6124AF is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.5% C 0.201 H 296.9°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#6124AF
RGBrgb(97, 36, 175)
HSLhsl(266, 66%, 41%)
HSVhsv(266, 79%, 69%)
CMYKcmyk(44.6%, 79.4%, 0%, 31.4%)
CIE-LABlab(31.57, 54.50, -62.61)
CIE-LCHlch(31.57, 83.01, 311.04°)
OKLaboklab(43.5% 0.0909 -0.1794)
OKLCHoklch(43.5% 0.201 296.9)
XYZxyz(13.2965, 6.8980, 41.1800)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6124AF #72AF24
analogous
#242DAF #6124AF #A724AF
triadic
#6124AF #AF6124 #24AF61
tetradic
#6124AF #AF242D #72AF24 #24AFA7
square
#6124AF #AF242D #72AF24 #24AFA7
split-complementary
#6124AF #AFA724 #2DAF24
monochromatic
#290F49 #451A7C #6124AF #7F3AD6 #A06DE1

Accessibility & contrast

On white

8.83
#6124AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6124AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6124AF
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6124AF#FFFFFF#000000##FFFFFF
##6124AF1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0048AC
Tritanopia (blue-blind)
#4C4B6A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6124af;
/* rgb */ color: rgb(97, 36, 175);
/* oklch */ color: oklch(43.5% 0.201 296.9);
Tailwind
colors: {
  custom: {
    50: '#9667c8',
    500: '#6124af',
    950: '#000000',
  },
}
SCSS
$custom: #6124af;
$custom-light: #9667c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6124af",
  "rgb": {
    "r": 97,
    "g": 36,
    "b": 175
  },
  "hsl": {
    "h": 266.331,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43501,
    "c": 0.20107,
    "h": 296.9
  },
  "luminance": 0.06898
}

Semantic roles & 50–950 ramp

primary
#6124AF
secondary
#9DC768
accent
#E93F9E
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6124AF

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

Preview Lab → · Contrast checker → · Palette generator →

#6124AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva