#6123A4#6123A4

#6123A4 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.4% C 0.191 H 299.8°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#6123A4
RGBrgb(97, 35, 164)
HSLhsl(269, 65%, 39%)
HSVhsv(269, 79%, 64%)
CMYKcmyk(40.9%, 78.7%, 0%, 35.7%)
CIE-LABlab(30.46, 52.18, -57.83)
CIE-LCHlch(30.46, 77.89, 312.06°)
OKLaboklab(42.42% 0.0949 -0.1653)
OKLCHoklch(42.42% 0.191 299.8)
XYZxyz(12.2300, 6.4236, 35.7103)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6123A4 #66A423
analogous
#2326A4 #6123A4 #A223A4
triadic
#6123A4 #A46123 #23A461
tetradic
#6123A4 #A42326 #66A423 #23A4A2
square
#6123A4 #A42326 #66A423 #23A4A2
split-complementary
#6123A4 #A4A223 #26A423
monochromatic
#250D3F #431872 #6123A4 #7F31D3 #9E64DE

Accessibility & contrast

On white

9.19
#6123A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6123A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6123A4
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6123A4#FFFFFF#000000##FFFFFF
##6123A41.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A8
Deuteranopia (green-blind)
#0047A2
Tritanopia (blue-blind)
#514663
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6123a4;
/* rgb */ color: rgb(97, 35, 164);
/* oklch */ color: oklch(42.4% 0.191 299.8);
Tailwind
colors: {
  custom: {
    50: '#9565c0',
    500: '#6123a4',
    950: '#000000',
  },
}
SCSS
$custom: #6123a4;
$custom-light: #9565c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6123a4",
  "rgb": {
    "r": 97,
    "g": 35,
    "b": 164
  },
  "hsl": {
    "h": 268.837,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42423,
    "c": 0.19062,
    "h": 299.8
  },
  "luminance": 0.06424
}

Semantic roles & 50–950 ramp

primary
#6123A4
secondary
#93C360
accent
#E84097
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6123A4

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

Preview Lab → · Contrast checker → · Palette generator →

#6123A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva