#6123BC#6123BC

#6123BC is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.6% C 0.215 H 293.9°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#6123BC
RGBrgb(97, 35, 188)
HSLhsl(264, 69%, 44%)
HSVhsv(264, 81%, 74%)
CMYKcmyk(48.4%, 81.4%, 0%, 26.3%)
CIE-LABlab(32.64, 58.14, -68.58)
CIE-LCHlch(32.64, 89.91, 310.29°)
OKLaboklab(44.61% 0.0874 -0.1969)
OKLCHoklch(44.61% 0.215 293.9)
XYZxyz(14.6054, 7.3738, 48.2210)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6123BC #7EBC23
analogous
#2331BC #6123BC #AD23BC
triadic
#6123BC #BC6123 #23BC61
tetradic
#6123BC #BC2331 #7EBC23 #23BCAD
square
#6123BC #BC2331 #7EBC23 #23BCAD
split-complementary
#6123BC #BCAD23 #31BC23
monochromatic
#2C1055 #461988 #6123BC #7F41DC #A274E5

Accessibility & contrast

On white

8.49
#6123BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6123BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6123BC
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6123BC#FFFFFF#000000##FFFFFF
##6123BC1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#004AB9
Tritanopia (blue-blind)
#455071
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6123bc;
/* rgb */ color: rgb(97, 35, 188);
/* oklch */ color: oklch(44.6% 0.215 293.9);
Tailwind
colors: {
  custom: {
    50: '#9767d1',
    500: '#6123bc',
    950: '#000000',
  },
}
SCSS
$custom: #6123bc;
$custom-light: #9767d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6123bc",
  "rgb": {
    "r": 97,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 264.314,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44608,
    "c": 0.21538,
    "h": 293.9
  },
  "luminance": 0.07374
}

Semantic roles & 50–950 ramp

primary
#6123BC
secondary
#A6CC6F
accent
#EB3CA4
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0F0614
muted
#7E7A83

Preview Lab

Preview with #6123BC

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

Preview Lab → · Contrast checker → · Palette generator →

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