#6124BD#6124BD

#6124BD is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.8% C 0.216 H 293.6°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#6124BD
RGBrgb(97, 36, 189)
HSLhsl(264, 68%, 44%)
HSVhsv(264, 81%, 74%)
CMYKcmyk(48.7%, 81%, 0%, 25.9%)
CIE-LABlab(32.87, 58.01, -68.80)
CIE-LCHlch(32.87, 89.99, 310.14°)
OKLaboklab(44.79% 0.0864 -0.1975)
OKLCHoklch(44.79% 0.216 293.6)
XYZxyz(14.7434, 7.4768, 48.8006)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6124BD #80BD24
analogous
#2433BD #6124BD #AE24BD
triadic
#6124BD #BD6124 #24BD61
tetradic
#6124BD #BD2433 #80BD24 #24BDAE
square
#6124BD #BD2433 #80BD24 #24BDAE
split-complementary
#6124BD #BDAE24 #33BD24
monochromatic
#2C1056 #471A8A #6124BD #8043DB #A376E5

Accessibility & contrast

On white

8.42
#6124BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6124BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6124BD
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6124BD#FFFFFF#000000##FFFFFF
##6124BD1.008.422.508.42
#FFFFFF8.421.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6124bd;
/* rgb */ color: rgb(97, 36, 189);
/* oklch */ color: oklch(44.8% 0.216 293.6);
Tailwind
colors: {
  custom: {
    50: '#9767d2',
    500: '#6124bd',
    950: '#000000',
  },
}
SCSS
$custom: #6124bd;
$custom-light: #9767d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6124bd",
  "rgb": {
    "r": 97,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 263.922,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44793,
    "c": 0.21557,
    "h": 293.6
  },
  "luminance": 0.07477
}

Semantic roles & 50–950 ramp

primary
#6124BD
secondary
#A8CC70
accent
#EB3DA6
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0F0614
muted
#7E7A83

Preview Lab

Preview with #6124BD

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

Preview Lab → · Contrast checker → · Palette generator →

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