#341672#341672

#341672 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.145 H 290.1°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#341672
RGBrgb(52, 22, 114)
HSLhsl(260, 68%, 27%)
HSVhsv(260, 81%, 45%)
CMYKcmyk(54.4%, 80.7%, 0%, 55.3%)
CIE-LABlab(18.00, 37.47, -47.25)
CIE-LCHlch(18.00, 60.31, 308.42°)
OKLaboklab(31.01% 0.0496 -0.1358)
OKLCHoklch(31.01% 0.145 290.1)
XYZxyz(4.7395, 2.5186, 16.1527)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341672 #547216
analogous
#162672 #341672 #621672
triadic
#341672 #723416 #167234
tetradic
#341672 #721626 #547216 #167262
square
#341672 #721626 #547216 #167262
split-complementary
#341672 #726216 #267216
monochromatic
#0C051A #1D0C3F #341672 #4B20A5 #642CD6

Accessibility & contrast

On white

13.96
#341672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#341672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341672
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341672#FFFFFF#000000##FFFFFF
##3416721.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E75
Deuteranopia (green-blind)
#002A70
Tritanopia (blue-blind)
#1D3043
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #341672;
/* rgb */ color: rgb(52, 22, 114);
/* oklch */ color: oklch(31.0% 0.145 290.1);
Tailwind
colors: {
  custom: {
    50: '#73579b',
    500: '#341672',
    950: '#000000',
  },
}
SCSS
$custom: #341672;
$custom-light: #73579b;
$custom-dark: #000000;
JSON
{
  "hex": "#341672",
  "rgb": {
    "r": 52,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 259.565,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31006,
    "c": 0.1446,
    "h": 290.1
  },
  "luminance": 0.02519
}

Semantic roles & 50–950 ramp

primary
#341672
secondary
#85A83C
accent
#EB3DB2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #341672

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

Preview Lab → · Contrast checker → · Palette generator →

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