#672695#672695

#672695 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.173 H 307.1°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#672695
RGBrgb(103, 38, 149)
HSLhsl(275, 59%, 37%)
HSVhsv(275, 74%, 58%)
CMYKcmyk(30.9%, 74.5%, 0%, 41.6%)
CIE-LABlab(30.50, 48.38, -48.59)
CIE-LCHlch(30.50, 68.57, 314.88°)
OKLaboklab(42.24% 0.1044 -0.138)
OKLCHoklch(42.24% 0.173 307.1)
XYZxyz(11.7103, 6.4399, 29.0541)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672695 #549526
analogous
#302695 #672695 #95268C
triadic
#672695 #956726 #269567
tetradic
#672695 #953026 #549526 #268C95
square
#672695 #953026 #549526 #268C95
split-complementary
#672695 #8C9526 #269530
monochromatic
#240D33 #451A64 #672695 #8932C6 #A55FD6

Accessibility & contrast

On white

9.18
#672695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#672695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672695
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672695#FFFFFF#000000##FFFFFF
##6726951.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #672695;
/* rgb */ color: rgb(103, 38, 149);
/* oklch */ color: oklch(42.2% 0.173 307.1);
Tailwind
colors: {
  custom: {
    50: '#9767b5',
    500: '#672695',
    950: '#000000',
  },
}
SCSS
$custom: #672695;
$custom-light: #9767b5;
$custom-dark: #000000;
JSON
{
  "hex": "#672695",
  "rgb": {
    "r": 103,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 275.135,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42244,
    "c": 0.17304,
    "h": 307.1
  },
  "luminance": 0.0644
}

Semantic roles & 50–950 ramp

primary
#672695
secondary
#83BB5B
accent
#E34586
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672695

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

Preview Lab → · Contrast checker → · Palette generator →

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