#6126BD#6126BD

#6126BD is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 45.0% C 0.214 H 293.4°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#6126BD
RGBrgb(97, 38, 189)
HSLhsl(263, 67%, 45%)
HSVhsv(263, 80%, 74%)
CMYKcmyk(48.7%, 79.9%, 0%, 25.9%)
CIE-LABlab(33.14, 57.23, -68.36)
CIE-LCHlch(33.14, 89.15, 309.94°)
OKLaboklab(44.98% 0.085 -0.1962)
OKLCHoklch(44.98% 0.214 293.4)
XYZxyz(14.8056, 7.6012, 48.8213)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6126BD #82BD26
analogous
#2636BD #6126BD #AD26BD
triadic
#6126BD #BD6126 #26BD61
tetradic
#6126BD #BD2636 #82BD26 #26BDAD
square
#6126BD #BD2636 #82BD26 #26BDAD
split-complementary
#6126BD #BDAD26 #36BD26
monochromatic
#2D1257 #471C8A #6126BD #8046DA #A379E4

Accessibility & contrast

On white

8.33
#6126BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6126BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6126BD
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6126BD#FFFFFF#000000##FFFFFF
##6126BD1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C1
Deuteranopia (green-blind)
#004BBA
Tritanopia (blue-blind)
#445272
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6126bd;
/* rgb */ color: rgb(97, 38, 189);
/* oklch */ color: oklch(45.0% 0.214 293.4);
Tailwind
colors: {
  custom: {
    50: '#9768d2',
    500: '#6126bd',
    950: '#000000',
  },
}
SCSS
$custom: #6126bd;
$custom-light: #9768d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6126bd",
  "rgb": {
    "r": 97,
    "g": 38,
    "b": 189
  },
  "hsl": {
    "h": 263.444,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4498,
    "c": 0.21386,
    "h": 293.4
  },
  "luminance": 0.07602
}

Semantic roles & 50–950 ramp

primary
#6126BD
secondary
#A9CC73
accent
#E93EA7
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0F0714
muted
#7E7A83

Preview Lab

Preview with #6126BD

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

Preview Lab → · Contrast checker → · Palette generator →

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