#6123B1#6123B1

#6123B1 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.6% C 0.204 H 296.5°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#6123B1
RGBrgb(97, 35, 177)
HSLhsl(266, 67%, 42%)
HSVhsv(266, 80%, 69%)
CMYKcmyk(45.2%, 80.2%, 0%, 30.6%)
CIE-LABlab(31.62, 55.40, -63.73)
CIE-LCHlch(31.62, 84.44, 311.00°)
OKLaboklab(43.59% 0.091 -0.1827)
OKLCHoklch(43.59% 0.204 296.5)
XYZxyz(13.4645, 6.9175, 42.2122)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6123B1 #73B123
analogous
#232CB1 #6123B1 #A823B1
triadic
#6123B1 #B16123 #23B161
tetradic
#6123B1 #B1232C #73B123 #23B1A8
square
#6123B1 #B1232C #73B123 #23B1A8
split-complementary
#6123B1 #B1A823 #2CB123
monochromatic
#290F4B #45197E #6123B1 #7F39D8 #A06CE2

Accessibility & contrast

On white

8.81
#6123B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6123B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6123B1
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6123B1#FFFFFF#000000##FFFFFF
##6123B11.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB5
Deuteranopia (green-blind)
#0048AE
Tritanopia (blue-blind)
#4B4B6B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6123b1;
/* rgb */ color: rgb(97, 35, 177);
/* oklch */ color: oklch(43.6% 0.204 296.5);
Tailwind
colors: {
  custom: {
    50: '#9666c9',
    500: '#6123b1',
    950: '#000000',
  },
}
SCSS
$custom: #6123b1;
$custom-light: #9666c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6123b1",
  "rgb": {
    "r": 97,
    "g": 35,
    "b": 177
  },
  "hsl": {
    "h": 266.197,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43587,
    "c": 0.20406,
    "h": 296.5
  },
  "luminance": 0.06918
}

Semantic roles & 50–950 ramp

primary
#6123B1
secondary
#9EC868
accent
#EA3E9F
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6123B1

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

Preview Lab → · Contrast checker → · Palette generator →

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