#6A458B#6A458B

#6A458B is a mid, moderate violet. Relative luminance 0.092; OKLCH L 46.4% C 0.116 H 306.8°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#6A458B
RGBrgb(106, 69, 139)
HSLhsl(272, 34%, 41%)
HSVhsv(272, 50%, 55%)
CMYKcmyk(23.7%, 50.4%, 0%, 45.5%)
CIE-LABlab(36.34, 30.24, -33.08)
CIE-LCHlch(36.34, 44.82, 312.43°)
OKLaboklab(46.37% 0.0694 -0.0926)
OKLCHoklch(46.37% 0.116 306.8)
XYZxyz(12.7312, 9.1846, 25.5232)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A458B #668B45
analogous
#47458B #6A458B #8B4589
triadic
#6A458B #8B6A45 #458B6A
tetradic
#6A458B #8B4745 #668B45 #45898B
square
#6A458B #8B4745 #668B45 #45898B
split-complementary
#6A458B #898B45 #458B47
monochromatic
#2C1C39 #4B3162 #6A458B #895EAF #A787C3

Accessibility & contrast

On white

7.40
#6A458B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6A458B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A458B
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A458B#FFFFFF#000000##FFFFFF
##6A458B1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32548D
Deuteranopia (green-blind)
#3C5689
Tritanopia (blue-blind)
#655161
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6a458b;
/* rgb */ color: rgb(106, 69, 139);
/* oklch */ color: oklch(46.4% 0.116 306.8);
Tailwind
colors: {
  custom: {
    50: '#967aad',
    500: '#6a458b',
    950: '#000000',
  },
}
SCSS
$custom: #6a458b;
$custom-light: #967aad;
$custom-dark: #000000;
JSON
{
  "hex": "#6a458b",
  "rgb": {
    "r": 106,
    "g": 69,
    "b": 139
  },
  "hsl": {
    "h": 271.714,
    "s": 33.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46367,
    "c": 0.1157,
    "h": 306.8
  },
  "luminance": 0.09184
}

Semantic roles & 50–950 ramp

primary
#6A458B
secondary
#94AF7D
accent
#CA5E91
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0E0910
muted
#7E7B7F

Preview Lab

Preview with #6A458B

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

Preview Lab → · Contrast checker → · Palette generator →

#6A458B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva