#672BAF#672BAF

#672BAF is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.9% C 0.195 H 298.9°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#672BAF
RGBrgb(103, 43, 175)
HSLhsl(267, 61%, 43%)
HSVhsv(267, 75%, 69%)
CMYKcmyk(41.1%, 75.4%, 0%, 31.4%)
CIE-LABlab(33.36, 52.49, -59.65)
CIE-LCHlch(33.36, 79.46, 311.35°)
OKLaboklab(44.92% 0.094 -0.1705)
OKLCHoklch(44.92% 0.195 298.9)
XYZxyz(14.1933, 7.7063, 41.2888)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672BAF #73AF2B
analogous
#2B31AF #672BAF #A92BAF
triadic
#672BAF #AF672B #2BAF67
tetradic
#672BAF #AF2B31 #73AF2B #2BAFA9
square
#672BAF #AF2B31 #73AF2B #2BAFA9
split-complementary
#672BAF #AFA92B #31AF2B
monochromatic
#2D134D #4A1F7E #672BAF #8546D1 #A677DE

Accessibility & contrast

On white

8.26
#672BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#672BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672BAF
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672BAF#FFFFFF#000000##FFFFFF
##672BAF1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#554D6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #672baf;
/* rgb */ color: rgb(103, 43, 175);
/* oklch */ color: oklch(44.9% 0.195 298.9);
Tailwind
colors: {
  custom: {
    50: '#996bc8',
    500: '#672baf',
    950: '#000000',
  },
}
SCSS
$custom: #672baf;
$custom-light: #996bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#672baf",
  "rgb": {
    "r": 103,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 267.273,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4492,
    "c": 0.19474,
    "h": 298.9
  },
  "luminance": 0.07706
}

Semantic roles & 50–950 ramp

primary
#672BAF
secondary
#9FC570
accent
#E4449B
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #672BAF

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

Preview Lab → · Contrast checker → · Palette generator →

#672BAF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva