#6123A7#6123A7

#6123A7 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.7% C 0.194 H 299.0°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#6123A7
RGBrgb(97, 35, 167)
HSLhsl(268, 65%, 40%)
HSVhsv(268, 79%, 65%)
CMYKcmyk(41.9%, 79%, 0%, 34.5%)
CIE-LABlab(30.72, 52.92, -59.21)
CIE-LCHlch(30.72, 79.41, 311.79°)
OKLaboklab(42.69% 0.094 -0.1694)
OKLCHoklch(42.69% 0.194 299)
XYZxyz(12.5041, 6.5333, 37.1540)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6123A7 #69A723
analogous
#2327A7 #6123A7 #A323A7
triadic
#6123A7 #A76123 #23A761
tetradic
#6123A7 #A72327 #69A723 #23A7A3
square
#6123A7 #A72327 #69A723 #23A7A3
split-complementary
#6123A7 #A7A323 #27A723
monochromatic
#260E42 #441874 #6123A7 #7F33D4 #9F66DF

Accessibility & contrast

On white

9.10
#6123A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6123A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6123A7
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6123A7#FFFFFF#000000##FFFFFF
##6123A71.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6123a7;
/* rgb */ color: rgb(97, 35, 167);
/* oklch */ color: oklch(42.7% 0.194 299.0);
Tailwind
colors: {
  custom: {
    50: '#9566c2',
    500: '#6123a7',
    950: '#000000',
  },
}
SCSS
$custom: #6123a7;
$custom-light: #9566c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6123a7",
  "rgb": {
    "r": 97,
    "g": 35,
    "b": 167
  },
  "hsl": {
    "h": 268.182,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42687,
    "c": 0.19372,
    "h": 299
  },
  "luminance": 0.06533
}

Semantic roles & 50–950 ramp

primary
#6123A7
secondary
#96C461
accent
#E83F99
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6123A7

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

Preview Lab → · Contrast checker → · Palette generator →

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