#341876#341876

#341876 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.147 H 288.5°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#341876
RGBrgb(52, 24, 118)
HSLhsl(258, 66%, 28%)
HSVhsv(258, 80%, 46%)
CMYKcmyk(55.9%, 79.7%, 0%, 53.7%)
CIE-LABlab(18.76, 37.66, -48.58)
CIE-LCHlch(18.76, 61.47, 307.78°)
OKLaboklab(31.66% 0.0468 -0.1397)
OKLCHoklch(31.66% 0.147 288.5)
XYZxyz(5.0119, 2.6911, 17.3914)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341876 #5A7618
analogous
#182B76 #341876 #631876
triadic
#341876 #763418 #187634
tetradic
#341876 #76182B #5A7618 #187663
square
#341876 #76182B #5A7618 #187663
split-complementary
#341876 #766318 #2B7618
monochromatic
#0B0519 #1E0E43 #341876 #4A22A9 #6333D5

Accessibility & contrast

On white

13.65
#341876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#341876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341876
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341876#FFFFFF#000000##FFFFFF
##3418761.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003079
Deuteranopia (green-blind)
#002B74
Tritanopia (blue-blind)
#1A3346
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #341876;
/* rgb */ color: rgb(52, 24, 118);
/* oklch */ color: oklch(31.7% 0.147 288.5);
Tailwind
colors: {
  custom: {
    50: '#74599e',
    500: '#341876',
    950: '#000000',
  },
}
SCSS
$custom: #341876;
$custom-light: #74599e;
$custom-dark: #000000;
JSON
{
  "hex": "#341876",
  "rgb": {
    "r": 52,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 257.872,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31661,
    "c": 0.14736,
    "h": 288.5
  },
  "luminance": 0.02691
}

Semantic roles & 50–950 ramp

primary
#341876
secondary
#8BAB3F
accent
#E93FB6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #341876

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

Preview Lab → · Contrast checker → · Palette generator →

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