#341674#341674

#341674 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.147 H 289.5°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#341674
RGBrgb(52, 22, 116)
HSLhsl(259, 68%, 27%)
HSVhsv(259, 81%, 45%)
CMYKcmyk(55.2%, 81%, 0%, 54.5%)
CIE-LABlab(18.21, 38.06, -48.20)
CIE-LCHlch(18.21, 61.42, 308.30°)
OKLaboklab(31.21% 0.049 -0.1386)
OKLCHoklch(31.21% 0.147 289.5)
XYZxyz(4.8546, 2.5646, 16.7588)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341674 #567416
analogous
#162774 #341674 #631674
triadic
#341674 #743416 #167434
tetradic
#341674 #741627 #567416 #167463
square
#341674 #741627 #567416 #167463
split-complementary
#341674 #746316 #277416
monochromatic
#0C051A #1D0C41 #341674 #4B20A7 #632DD7

Accessibility & contrast

On white

13.88
#341674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341674
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341674#FFFFFF#000000##FFFFFF
##3416741.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E77
Deuteranopia (green-blind)
#002A72
Tritanopia (blue-blind)
#1B3145
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #341674;
/* rgb */ color: rgb(52, 22, 116);
/* oklch */ color: oklch(31.2% 0.147 289.5);
Tailwind
colors: {
  custom: {
    50: '#74579d',
    500: '#341674',
    950: '#000000',
  },
}
SCSS
$custom: #341674;
$custom-light: #74579d;
$custom-dark: #000000;
JSON
{
  "hex": "#341674",
  "rgb": {
    "r": 52,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 259.149,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31212,
    "c": 0.14701,
    "h": 289.5
  },
  "luminance": 0.02565
}

Semantic roles & 50–950 ramp

primary
#341674
secondary
#87AA3C
accent
#EB3DB3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #341674

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

Preview Lab → · Contrast checker → · Palette generator →

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