#6126B0#6126B0

#6126B0 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.8% C 0.200 H 296.4°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#6126B0
RGBrgb(97, 38, 176)
HSLhsl(266, 64%, 42%)
HSVhsv(266, 78%, 69%)
CMYKcmyk(44.9%, 78.4%, 0%, 31%)
CIE-LABlab(31.95, 53.93, -62.60)
CIE-LCHlch(31.95, 82.62, 310.75°)
OKLaboklab(43.79% 0.089 -0.1793)
OKLCHoklch(43.79% 0.2 296.4)
XYZxyz(13.4573, 7.0619, 41.7199)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6126B0 #75B026
analogous
#2630B0 #6126B0 #A626B0
triadic
#6126B0 #B06126 #26B061
tetradic
#6126B0 #B02630 #75B026 #26B0A6
square
#6126B0 #B02630 #75B026 #26B0A6
split-complementary
#6126B0 #B0A626 #30B026
monochromatic
#2A104B #451B7E #6126B0 #7F3ED5 #A070E0

Accessibility & contrast

On white

8.71
#6126B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6126B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6126B0
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6126B0#FFFFFF#000000##FFFFFF
##6126B01.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6126b0;
/* rgb */ color: rgb(97, 38, 176);
/* oklch */ color: oklch(43.8% 0.200 296.4);
Tailwind
colors: {
  custom: {
    50: '#9668c9',
    500: '#6126b0',
    950: '#000000',
  },
}
SCSS
$custom: #6126b0;
$custom-light: #9668c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6126b0",
  "rgb": {
    "r": 97,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 265.652,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43789,
    "c": 0.20022,
    "h": 296.4
  },
  "luminance": 0.07062
}

Semantic roles & 50–950 ramp

primary
#6126B0
secondary
#A0C76B
accent
#E740A0
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6126B0

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

Preview Lab → · Contrast checker → · Palette generator →

#6126B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva