#672895#672895

#672895 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.171 H 306.9°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#672895
RGBrgb(103, 40, 149)
HSLhsl(275, 58%, 37%)
HSVhsv(275, 73%, 58%)
CMYKcmyk(30.9%, 73.2%, 0%, 41.6%)
CIE-LABlab(30.81, 47.49, -48.08)
CIE-LCHlch(30.81, 67.59, 314.65°)
OKLaboklab(42.47% 0.1024 -0.1365)
OKLCHoklch(42.47% 0.171 306.9)
XYZxyz(11.7760, 6.5712, 29.0759)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672895 #569528
analogous
#312895 #672895 #95288D
triadic
#672895 #956728 #289567
tetradic
#672895 #953128 #569528 #288D95
square
#672895 #953128 #569528 #288D95
split-complementary
#672895 #8D9528 #289531
monochromatic
#240E35 #461B65 #672895 #8835C5 #A562D5

Accessibility & contrast

On white

9.07
#672895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#672895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672895
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672895#FFFFFF#000000##FFFFFF
##6728951.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#004993
Tritanopia (blue-blind)
#5F415C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #672895;
/* rgb */ color: rgb(103, 40, 149);
/* oklch */ color: oklch(42.5% 0.171 306.9);
Tailwind
colors: {
  custom: {
    50: '#9768b5',
    500: '#672895',
    950: '#000000',
  },
}
SCSS
$custom: #672895;
$custom-light: #9768b5;
$custom-dark: #000000;
JSON
{
  "hex": "#672895",
  "rgb": {
    "r": 103,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 274.679,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42467,
    "c": 0.17063,
    "h": 306.9
  },
  "luminance": 0.06571
}

Semantic roles & 50–950 ramp

primary
#672895
secondary
#85BB5E
accent
#E14788
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672895

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

Preview Lab → · Contrast checker → · Palette generator →

#672895 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva