#6122BC#6122BC

#6122BC is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.5% C 0.216 H 294.0°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#6122BC
RGBrgb(97, 34, 188)
HSLhsl(265, 69%, 44%)
HSVhsv(265, 82%, 74%)
CMYKcmyk(48.4%, 81.9%, 0%, 26.3%)
CIE-LABlab(32.52, 58.52, -68.79)
CIE-LCHlch(32.52, 90.31, 310.39°)
OKLaboklab(44.52% 0.088 -0.1975)
OKLCHoklch(44.52% 0.216 294)
XYZxyz(14.5764, 7.3158, 48.2113)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6122BC #7DBC22
analogous
#2230BC #6122BC #AE22BC
triadic
#6122BC #BC6122 #22BC61
tetradic
#6122BC #BC2230 #7DBC22 #22BCAE
square
#6122BC #BC2230 #7DBC22 #22BCAE
split-complementary
#6122BC #BCAE22 #30BC22
monochromatic
#2C0F54 #461988 #6122BC #7F3FDC #A273E6

Accessibility & contrast

On white

8.53
#6122BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6122BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6122BC
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6122BC#FFFFFF#000000##FFFFFF
##6122BC1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6122bc;
/* rgb */ color: rgb(97, 34, 188);
/* oklch */ color: oklch(44.5% 0.216 294.0);
Tailwind
colors: {
  custom: {
    50: '#9766d1',
    500: '#6122bc',
    950: '#000000',
  },
}
SCSS
$custom: #6122bc;
$custom-light: #9766d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6122bc",
  "rgb": {
    "r": 97,
    "g": 34,
    "b": 188
  },
  "hsl": {
    "h": 264.545,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4452,
    "c": 0.21619,
    "h": 294
  },
  "luminance": 0.07316
}

Semantic roles & 50–950 ramp

primary
#6122BC
secondary
#A6CD6D
accent
#EC3CA4
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0F0614
muted
#7E7A83

Preview Lab

Preview with #6122BC

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

Preview Lab → · Contrast checker → · Palette generator →

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