#6123A9#6123A9

#6123A9 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.196 H 298.5°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#6123A9
RGBrgb(97, 35, 169)
HSLhsl(268, 66%, 40%)
HSVhsv(268, 79%, 66%)
CMYKcmyk(42.6%, 79.3%, 0%, 33.7%)
CIE-LABlab(30.90, 53.41, -60.12)
CIE-LCHlch(30.90, 80.42, 311.62°)
OKLaboklab(42.86% 0.0934 -0.1721)
OKLCHoklch(42.86% 0.196 298.5)
XYZxyz(12.6904, 6.6078, 38.1353)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6123A9 #6BA923
analogous
#2328A9 #6123A9 #A423A9
triadic
#6123A9 #A96123 #23A961
tetradic
#6123A9 #A92328 #6BA923 #23A9A4
square
#6123A9 #A92328 #6BA923 #23A9A4
split-complementary
#6123A9 #A9A423 #28A923
monochromatic
#270E44 #441976 #6123A9 #7F34D5 #9F67DF

Accessibility & contrast

On white

9.05
#6123A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6123A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6123A9
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6123A9#FFFFFF#000000##FFFFFF
##6123A91.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#0047A6
Tritanopia (blue-blind)
#4F4866
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6123a9;
/* rgb */ color: rgb(97, 35, 169);
/* oklch */ color: oklch(42.9% 0.196 298.5);
Tailwind
colors: {
  custom: {
    50: '#9566c4',
    500: '#6123a9',
    950: '#000000',
  },
}
SCSS
$custom: #6123a9;
$custom-light: #9566c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6123a9",
  "rgb": {
    "r": 97,
    "g": 35,
    "b": 169
  },
  "hsl": {
    "h": 267.761,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.42865,
    "c": 0.19579,
    "h": 298.5
  },
  "luminance": 0.06608
}

Semantic roles & 50–950 ramp

primary
#6123A9
secondary
#98C563
accent
#E93F9A
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6123A9

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

Preview Lab → · Contrast checker → · Palette generator →

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