#6123A6#6123A6

#6123A6 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.6% C 0.193 H 299.3°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#6123A6
RGBrgb(97, 35, 166)
HSLhsl(268, 65%, 39%)
HSVhsv(268, 79%, 65%)
CMYKcmyk(41.6%, 78.9%, 0%, 34.9%)
CIE-LABlab(30.63, 52.67, -58.75)
CIE-LCHlch(30.63, 78.90, 311.88°)
OKLaboklab(42.6% 0.0943 -0.168)
OKLCHoklch(42.6% 0.193 299.3)
XYZxyz(12.4120, 6.4965, 36.6690)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6123A6 #68A623
analogous
#2327A6 #6123A6 #A323A6
triadic
#6123A6 #A66123 #23A661
tetradic
#6123A6 #A62327 #68A623 #23A6A3
square
#6123A6 #A62327 #68A623 #23A6A3
split-complementary
#6123A6 #A6A323 #27A623
monochromatic
#260E41 #431873 #6123A6 #7F32D4 #9E65DF

Accessibility & contrast

On white

9.13
#6123A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6123A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6123A6
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6123A6#FFFFFF#000000##FFFFFF
##6123A61.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#0047A4
Tritanopia (blue-blind)
#504764
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6123a6;
/* rgb */ color: rgb(97, 35, 166);
/* oklch */ color: oklch(42.6% 0.193 299.3);
Tailwind
colors: {
  custom: {
    50: '#9566c1',
    500: '#6123a6',
    950: '#000000',
  },
}
SCSS
$custom: #6123a6;
$custom-light: #9566c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6123a6",
  "rgb": {
    "r": 97,
    "g": 35,
    "b": 166
  },
  "hsl": {
    "h": 268.397,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42599,
    "c": 0.19268,
    "h": 299.3
  },
  "luminance": 0.06497
}

Semantic roles & 50–950 ramp

primary
#6123A6
secondary
#95C461
accent
#E84098
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6123A6

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

Preview Lab → · Contrast checker → · Palette generator →

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