#672795#672795

#672795 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.172 H 307.0°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#672795
RGBrgb(103, 39, 149)
HSLhsl(275, 59%, 37%)
HSVhsv(275, 74%, 58%)
CMYKcmyk(30.9%, 73.8%, 0%, 41.6%)
CIE-LABlab(30.65, 47.94, -48.34)
CIE-LCHlch(30.65, 68.08, 314.76°)
OKLaboklab(42.35% 0.1034 -0.1373)
OKLCHoklch(42.35% 0.172 307)
XYZxyz(11.7427, 6.5047, 29.0649)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672795 #559527
analogous
#302795 #672795 #95278C
triadic
#672795 #956727 #279567
tetradic
#672795 #953027 #559527 #278C95
square
#672795 #953027 #559527 #278C95
split-complementary
#672795 #8C9527 #279530
monochromatic
#240E34 #451A64 #672795 #8934C6 #A561D6

Accessibility & contrast

On white

9.13
#672795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#672795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672795
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672795#FFFFFF#000000##FFFFFF
##6727951.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.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: #672795;
/* rgb */ color: rgb(103, 39, 149);
/* oklch */ color: oklch(42.4% 0.172 307.0);
Tailwind
colors: {
  custom: {
    50: '#9767b5',
    500: '#672795',
    950: '#000000',
  },
}
SCSS
$custom: #672795;
$custom-light: #9767b5;
$custom-dark: #000000;
JSON
{
  "hex": "#672795",
  "rgb": {
    "r": 103,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 274.909,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42354,
    "c": 0.17185,
    "h": 307
  },
  "luminance": 0.06505
}

Semantic roles & 50–950 ramp

primary
#672795
secondary
#84BB5D
accent
#E24687
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672795

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

Preview Lab → · Contrast checker → · Palette generator →

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