#6124B1#6124B1

#6124B1 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.7% C 0.203 H 296.4°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#6124B1
RGBrgb(97, 36, 177)
HSLhsl(266, 66%, 42%)
HSVhsv(266, 80%, 69%)
CMYKcmyk(45.2%, 79.7%, 0%, 30.6%)
CIE-LABlab(31.75, 55.00, -63.51)
CIE-LCHlch(31.75, 84.01, 310.89°)
OKLaboklab(43.68% 0.0902 -0.182)
OKLCHoklch(43.68% 0.203 296.4)
XYZxyz(13.4943, 6.9772, 42.2222)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6124B1 #74B124
analogous
#242EB1 #6124B1 #A724B1
triadic
#6124B1 #B16124 #24B161
tetradic
#6124B1 #B1242E #74B124 #24B1A7
square
#6124B1 #B1242E #74B124 #24B1A7
split-complementary
#6124B1 #B1A724 #2EB124
monochromatic
#290F4B #451A7E #6124B1 #7F3BD7 #A06EE1

Accessibility & contrast

On white

8.77
#6124B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6124B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6124B1
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6124B1#FFFFFF#000000##FFFFFF
##6124B11.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB5
Deuteranopia (green-blind)
#0049AE
Tritanopia (blue-blind)
#4B4C6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6124b1;
/* rgb */ color: rgb(97, 36, 177);
/* oklch */ color: oklch(43.7% 0.203 296.4);
Tailwind
colors: {
  custom: {
    50: '#9667c9',
    500: '#6124b1',
    950: '#000000',
  },
}
SCSS
$custom: #6124b1;
$custom-light: #9667c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6124b1",
  "rgb": {
    "r": 97,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 265.957,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43682,
    "c": 0.20315,
    "h": 296.4
  },
  "luminance": 0.06977
}

Semantic roles & 50–950 ramp

primary
#6124B1
secondary
#9FC869
accent
#E93F9F
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6124B1

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

Preview Lab → · Contrast checker → · Palette generator →

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