#6125B2#6125B2

#6125B2 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.9% C 0.203 H 296.0°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#6125B2
RGBrgb(97, 37, 178)
HSLhsl(266, 66%, 42%)
HSVhsv(266, 79%, 70%)
CMYKcmyk(45.5%, 79.2%, 0%, 30.2%)
CIE-LABlab(31.98, 54.85, -63.73)
CIE-LCHlch(31.98, 84.08, 310.72°)
OKLaboklab(43.87% 0.0892 -0.1827)
OKLCHoklch(43.87% 0.203 296)
XYZxyz(13.6251, 7.0785, 42.7593)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6125B2 #76B225
analogous
#2530B2 #6125B2 #A825B2
triadic
#6125B2 #B26125 #25B261
tetradic
#6125B2 #B22530 #76B225 #25B2A8
square
#6125B2 #B22530 #76B225 #25B2A8
split-complementary
#6125B2 #B2A825 #30B225
monochromatic
#2A104D #451A7F #6125B2 #7F3DD7 #A070E1

Accessibility & contrast

On white

8.69
#6125B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6125B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6125B2
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6125B2#FFFFFF#000000##FFFFFF
##6125B21.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB6
Deuteranopia (green-blind)
#0049AF
Tritanopia (blue-blind)
#4A4D6C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6125b2;
/* rgb */ color: rgb(97, 37, 178);
/* oklch */ color: oklch(43.9% 0.203 296.0);
Tailwind
colors: {
  custom: {
    50: '#9667ca',
    500: '#6125b2',
    950: '#000000',
  },
}
SCSS
$custom: #6125b2;
$custom-light: #9667ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6125b2",
  "rgb": {
    "r": 97,
    "g": 37,
    "b": 178
  },
  "hsl": {
    "h": 265.532,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4387,
    "c": 0.20327,
    "h": 296
  },
  "luminance": 0.07079
}

Semantic roles & 50–950 ramp

primary
#6125B2
secondary
#A0C86B
accent
#E93FA1
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6125B2

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

Preview Lab → · Contrast checker → · Palette generator →

#6125B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva