#6B438E#6B438E

#6B438E is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.3% C 0.123 H 306.9°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#6B438E
RGBrgb(107, 67, 142)
HSLhsl(272, 36%, 41%)
HSVhsv(272, 53%, 56%)
CMYKcmyk(24.6%, 52.8%, 0%, 44.3%)
CIE-LABlab(36.16, 32.46, -35.18)
CIE-LCHlch(36.16, 47.87, 312.69°)
OKLaboklab(46.32% 0.074 -0.0987)
OKLCHoklch(46.32% 0.123 306.9)
XYZxyz(12.9520, 9.0932, 26.6588)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B438E #668E43
analogous
#45438E #6B438E #8E438B
triadic
#6B438E #8E6B43 #438E6B
tetradic
#6B438E #8E4543 #668E43 #438B8E
square
#6B438E #8E4543 #668E43 #438B8E
split-complementary
#6B438E #8B8E43 #438E45
monochromatic
#2C1C3B #4C2F64 #6B438E #8A5CB2 #A886C6

Accessibility & contrast

On white

7.45
#6B438E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6B438E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B438E
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B438E#FFFFFF#000000##FFFFFF
##6B438E1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5491
Deuteranopia (green-blind)
#39558C
Tritanopia (blue-blind)
#665062
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6b438e;
/* rgb */ color: rgb(107, 67, 142);
/* oklch */ color: oklch(46.3% 0.123 306.9);
Tailwind
colors: {
  custom: {
    50: '#9778af',
    500: '#6b438e',
    950: '#000000',
  },
}
SCSS
$custom: #6b438e;
$custom-light: #9778af;
$custom-dark: #000000;
JSON
{
  "hex": "#6b438e",
  "rgb": {
    "r": 107,
    "g": 67,
    "b": 142
  },
  "hsl": {
    "h": 272,
    "s": 35.885,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4632,
    "c": 0.12332,
    "h": 306.9
  },
  "luminance": 0.09093
}

Semantic roles & 50–950 ramp

primary
#6B438E
secondary
#95B17C
accent
#CC5C90
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0E0910
muted
#7E7B7F

Preview Lab

Preview with #6B438E

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

Preview Lab → · Contrast checker → · Palette generator →

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