#6123BD#6123BD

#6123BD is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.7% C 0.216 H 293.7°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#6123BD
RGBrgb(97, 35, 189)
HSLhsl(264, 69%, 44%)
HSVhsv(264, 81%, 74%)
CMYKcmyk(48.7%, 81.5%, 0%, 25.9%)
CIE-LABlab(32.74, 58.39, -69.01)
CIE-LCHlch(32.74, 90.40, 310.23°)
OKLaboklab(44.7% 0.087 -0.1981)
OKLCHoklch(44.7% 0.216 293.7)
XYZxyz(14.7136, 7.4171, 48.7906)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6123BD #7FBD23
analogous
#2332BD #6123BD #AE23BD
triadic
#6123BD #BD6123 #23BD61
tetradic
#6123BD #BD2332 #7FBD23 #23BDAE
square
#6123BD #BD2332 #7FBD23 #23BDAE
split-complementary
#6123BD #BDAE23 #32BD23
monochromatic
#2C1056 #461989 #6123BD #8041DC #A275E5

Accessibility & contrast

On white

8.46
#6123BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6123BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6123BD
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6123BD#FFFFFF#000000##FFFFFF
##6123BD1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC1
Deuteranopia (green-blind)
#004ABA
Tritanopia (blue-blind)
#445172
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6123bd;
/* rgb */ color: rgb(97, 35, 189);
/* oklch */ color: oklch(44.7% 0.216 293.7);
Tailwind
colors: {
  custom: {
    50: '#9867d2',
    500: '#6123bd',
    950: '#000000',
  },
}
SCSS
$custom: #6123bd;
$custom-light: #9867d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6123bd",
  "rgb": {
    "r": 97,
    "g": 35,
    "b": 189
  },
  "hsl": {
    "h": 264.156,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44703,
    "c": 0.21641,
    "h": 293.7
  },
  "luminance": 0.07418
}

Semantic roles & 50–950 ramp

primary
#6123BD
secondary
#A7CD6F
accent
#EC3CA5
background
#FAF6FD
surface
#F3EBFA
border
#CDC6D3
text
#0F0614
muted
#7F7A83

Preview Lab

Preview with #6123BD

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

Preview Lab → · Contrast checker → · Palette generator →

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