#341673#341673

#341673 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.1% C 0.146 H 289.8°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#341673
RGBrgb(52, 22, 115)
HSLhsl(259, 68%, 27%)
HSVhsv(259, 81%, 45%)
CMYKcmyk(54.8%, 80.9%, 0%, 54.9%)
CIE-LABlab(18.11, 37.77, -47.73)
CIE-LCHlch(18.11, 60.86, 308.36°)
OKLaboklab(31.11% 0.0493 -0.1372)
OKLCHoklch(31.11% 0.146 289.8)
XYZxyz(4.7967, 2.5415, 16.4541)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341673 #557316
analogous
#162773 #341673 #631673
triadic
#341673 #733416 #167334
tetradic
#341673 #731627 #557316 #167363
square
#341673 #731627 #557316 #167363
split-complementary
#341673 #736316 #277316
monochromatic
#0C051A #1D0C40 #341673 #4B20A6 #642DD7

Accessibility & contrast

On white

13.92
#341673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#341673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341673
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341673#FFFFFF#000000##FFFFFF
##3416731.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E76
Deuteranopia (green-blind)
#002A71
Tritanopia (blue-blind)
#1C3044
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #341673;
/* rgb */ color: rgb(52, 22, 115);
/* oklch */ color: oklch(31.1% 0.146 289.8);
Tailwind
colors: {
  custom: {
    50: '#73579c',
    500: '#341673',
    950: '#000000',
  },
}
SCSS
$custom: #341673;
$custom-light: #73579c;
$custom-dark: #000000;
JSON
{
  "hex": "#341673",
  "rgb": {
    "r": 52,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 259.355,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31109,
    "c": 0.1458,
    "h": 289.8
  },
  "luminance": 0.02542
}

Semantic roles & 50–950 ramp

primary
#341673
secondary
#86A93C
accent
#EB3DB3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #341673

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

Preview Lab → · Contrast checker → · Palette generator →

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