#6123AF#6123AF

#6123AF is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.4% C 0.202 H 297.0°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#6123AF
RGBrgb(97, 35, 175)
HSLhsl(267, 67%, 41%)
HSVhsv(267, 80%, 69%)
CMYKcmyk(44.6%, 80%, 0%, 31.4%)
CIE-LABlab(31.44, 54.90, -62.84)
CIE-LCHlch(31.44, 83.44, 311.14°)
OKLaboklab(43.41% 0.0916 -0.18)
OKLCHoklch(43.41% 0.202 297)
XYZxyz(13.2666, 6.8383, 41.1701)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6123AF #71AF23
analogous
#232BAF #6123AF #A723AF
triadic
#6123AF #AF6123 #23AF61
tetradic
#6123AF #AF232B #71AF23 #23AFA7
square
#6123AF #AF232B #71AF23 #23AFA7
split-complementary
#6123AF #AFA723 #2BAF23
monochromatic
#280F49 #45197C #6123AF #7F38D7 #9F6BE1

Accessibility & contrast

On white

8.87
#6123AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6123AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6123AF
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6123AF#FFFFFF#000000##FFFFFF
##6123AF1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0048AC
Tritanopia (blue-blind)
#4C4B69
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6123af;
/* rgb */ color: rgb(97, 35, 175);
/* oklch */ color: oklch(43.4% 0.202 297.0);
Tailwind
colors: {
  custom: {
    50: '#9666c8',
    500: '#6123af',
    950: '#000000',
  },
}
SCSS
$custom: #6123af;
$custom-light: #9666c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6123af",
  "rgb": {
    "r": 97,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 266.571,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43405,
    "c": 0.20199,
    "h": 297
  },
  "luminance": 0.06839
}

Semantic roles & 50–950 ramp

primary
#6123AF
secondary
#9CC766
accent
#EA3E9E
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6123AF

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

Preview Lab → · Contrast checker → · Palette generator →

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