#6A458D#6A458D

#6A458D is a mid, moderate violet. Relative luminance 0.092; OKLCH L 46.5% C 0.118 H 306.0°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#6A458D
RGBrgb(106, 69, 141)
HSLhsl(271, 34%, 41%)
HSVhsv(271, 51%, 55%)
CMYKcmyk(24.8%, 51.1%, 0%, 44.7%)
CIE-LABlab(36.45, 30.74, -34.13)
CIE-LCHlch(36.45, 45.93, 312.01°)
OKLaboklab(46.49% 0.0696 -0.0956)
OKLCHoklch(46.49% 0.118 306)
XYZxyz(12.8787, 9.2436, 26.2999)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A458D #688D45
analogous
#46458D #6A458D #8D458C
triadic
#6A458D #8D6A45 #458D6A
tetradic
#6A458D #8D4645 #688D45 #458C8D
square
#6A458D #8D4645 #688D45 #458C8D
split-complementary
#6A458D #8C8D45 #458D46
monochromatic
#2C1D3B #4B3164 #6A458D #895FB1 #A788C5

Accessibility & contrast

On white

7.37
#6A458D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6A458D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A458D
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A458D#FFFFFF#000000##FFFFFF
##6A458D1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305490
Deuteranopia (green-blind)
#3B568B
Tritanopia (blue-blind)
#645262
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6a458d;
/* rgb */ color: rgb(106, 69, 141);
/* oklch */ color: oklch(46.5% 0.118 306.0);
Tailwind
colors: {
  custom: {
    50: '#967aaf',
    500: '#6a458d',
    950: '#000000',
  },
}
SCSS
$custom: #6a458d;
$custom-light: #967aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#6a458d",
  "rgb": {
    "r": 106,
    "g": 69,
    "b": 141
  },
  "hsl": {
    "h": 270.833,
    "s": 34.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46487,
    "c": 0.11829,
    "h": 306
  },
  "luminance": 0.09244
}

Semantic roles & 50–950 ramp

primary
#6A458D
secondary
#96B07E
accent
#CA5D92
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0E0910
muted
#7E7B7F

Preview Lab

Preview with #6A458D

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

Preview Lab → · Contrast checker → · Palette generator →

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