#6123A0#6123A0

#6123A0 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.186 H 301.0°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#6123A0
RGBrgb(97, 35, 160)
HSLhsl(270, 64%, 38%)
HSVhsv(270, 78%, 63%)
CMYKcmyk(39.4%, 78.1%, 0%, 37.3%)
CIE-LABlab(30.11, 51.20, -55.97)
CIE-LCHlch(30.11, 75.85, 312.45°)
OKLaboklab(42.08% 0.096 -0.1599)
OKLCHoklch(42.08% 0.186 301)
XYZxyz(11.8744, 6.2814, 33.8377)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6123A0 #62A023
analogous
#2323A0 #6123A0 #9F23A0
triadic
#6123A0 #A06123 #23A061
tetradic
#6123A0 #A02323 #62A023 #23A09F
square
#6123A0 #A02323 #62A023 #23A09F
split-complementary
#6123A0 #A09F23 #23A023
monochromatic
#240D3C #43186E #6123A0 #7F2FD1 #9E61DC

Accessibility & contrast

On white

9.31
#6123A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6123A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6123A0
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6123A0#FFFFFF#000000##FFFFFF
##6123A01.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#00469E
Tritanopia (blue-blind)
#534461
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6123a0;
/* rgb */ color: rgb(97, 35, 160);
/* oklch */ color: oklch(42.1% 0.186 301.0);
Tailwind
colors: {
  custom: {
    50: '#9465bd',
    500: '#6123a0',
    950: '#000000',
  },
}
SCSS
$custom: #6123a0;
$custom-light: #9465bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6123a0",
  "rgb": {
    "r": 97,
    "g": 35,
    "b": 160
  },
  "hsl": {
    "h": 269.76,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42075,
    "c": 0.18646,
    "h": 301
  },
  "luminance": 0.06282
}

Semantic roles & 50–950 ramp

primary
#6123A0
secondary
#90C15D
accent
#E74195
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6123A0

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

Preview Lab → · Contrast checker → · Palette generator →

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