#6B438C#6B438C

#6B438C is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.2% C 0.121 H 307.6°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#6B438C
RGBrgb(107, 67, 140)
HSLhsl(273, 35%, 41%)
HSVhsv(273, 52%, 55%)
CMYKcmyk(23.6%, 52.1%, 0%, 45.1%)
CIE-LABlab(36.05, 31.96, -34.14)
CIE-LCHlch(36.05, 46.77, 313.11°)
OKLaboklab(46.2% 0.0738 -0.0956)
OKLCHoklch(46.2% 0.121 307.6)
XYZxyz(12.8032, 9.0337, 25.8751)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B438C #648C43
analogous
#46438C #6B438C #8C4388
triadic
#6B438C #8C6B43 #438C6B
tetradic
#6B438C #8C4643 #648C43 #43888C
square
#6B438C #8C4643 #648C43 #43888C
split-complementary
#6B438C #888C43 #438C46
monochromatic
#2C1B39 #4B2F63 #6B438C #8A5BB1 #A885C5

Accessibility & contrast

On white

7.48
#6B438C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6B438C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B438C
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B438C#FFFFFF#000000##FFFFFF
##6B438C1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E538F
Deuteranopia (green-blind)
#3A558A
Tritanopia (blue-blind)
#665061
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6b438c;
/* rgb */ color: rgb(107, 67, 140);
/* oklch */ color: oklch(46.2% 0.121 307.6);
Tailwind
colors: {
  custom: {
    50: '#9778ae',
    500: '#6b438c',
    950: '#000000',
  },
}
SCSS
$custom: #6b438c;
$custom-light: #9778ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6b438c",
  "rgb": {
    "r": 107,
    "g": 67,
    "b": 140
  },
  "hsl": {
    "h": 272.877,
    "s": 35.266,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46198,
    "c": 0.12079,
    "h": 307.6
  },
  "luminance": 0.09034
}

Semantic roles & 50–950 ramp

primary
#6B438C
secondary
#93AF7B
accent
#CB5C8F
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0E0910
muted
#7E7B7F

Preview Lab

Preview with #6B438C

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

Preview Lab → · Contrast checker → · Palette generator →

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