#6122D3#6122D3

#6122D3 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.8% C 0.240 H 289.5°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#6122D3
RGBrgb(97, 34, 211)
HSLhsl(261, 72%, 48%)
HSVhsv(261, 84%, 83%)
CMYKcmyk(54%, 83.9%, 0%, 17.3%)
CIE-LABlab(34.78, 64.25, -78.51)
CIE-LCHlch(34.78, 101.45, 309.30°)
OKLaboklab(46.75% 0.0798 -0.2259)
OKLCHoklch(46.75% 0.24 289.5)
XYZxyz(17.2562, 8.3878, 62.3251)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6122D3 #94D322
analogous
#223BD3 #6122D3 #B922D3
triadic
#6122D3 #D36122 #22D361
tetradic
#6122D3 #D3223B #94D322 #22D3B9
square
#6122D3 #D3223B #94D322 #22D3B9
split-complementary
#6122D3 #D3B922 #3BD322
monochromatic
#31116A #491A9E #6122D3 #844FE3 #A984EB

Accessibility & contrast

On white

7.84
#6122D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6122D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6122D3
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6122D3#FFFFFF#000000##FFFFFF
##6122D31.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D8
Deuteranopia (green-blind)
#004DD0
Tritanopia (blue-blind)
#325A7E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6122d3;
/* rgb */ color: rgb(97, 34, 211);
/* oklch */ color: oklch(46.8% 0.240 289.5);
Tailwind
colors: {
  custom: {
    50: '#9b68e2',
    500: '#6122d3',
    950: '#000000',
  },
}
SCSS
$custom: #6122d3;
$custom-light: #9b68e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6122d3",
  "rgb": {
    "r": 97,
    "g": 34,
    "b": 211
  },
  "hsl": {
    "h": 261.356,
    "s": 72.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46753,
    "c": 0.23956,
    "h": 289.5
  },
  "luminance": 0.08389
}

Semantic roles & 50–950 ramp

primary
#6122D3
secondary
#B5D47D
accent
#EF39AE
background
#FAF6FE
surface
#F4EBFC
border
#CEC6D5
text
#0F0716
muted
#7F7A84

Preview Lab

Preview with #6122D3

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

Preview Lab → · Contrast checker → · Palette generator →

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