#341867#341867

#341867 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.2% C 0.129 H 293.3°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#341867
RGBrgb(52, 24, 103)
HSLhsl(261, 62%, 25%)
HSVhsv(261, 77%, 40%)
CMYKcmyk(49.5%, 76.7%, 0%, 59.6%)
CIE-LABlab(17.29, 33.16, -41.26)
CIE-LCHlch(17.29, 52.93, 308.79°)
OKLaboklab(30.17% 0.0509 -0.1183)
OKLCHoklch(30.17% 0.129 293.3)
XYZxyz(4.1903, 2.3625, 13.0646)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341867 #4B6718
analogous
#182367 #341867 #5C1867
triadic
#341867 #673418 #186734
tetradic
#341867 #671823 #4B6718 #18675C
square
#341867 #671823 #4B6718 #18675C
split-complementary
#341867 #675C18 #236718
monochromatic
#0D0619 #1B0C35 #341867 #4D2499 #662FCA

Accessibility & contrast

On white

14.26
#341867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#341867 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341867
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341867#FFFFFF#000000##FFFFFF
##3418671.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B69
Deuteranopia (green-blind)
#002965
Tritanopia (blue-blind)
#252D3E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #341867;
/* rgb */ color: rgb(52, 24, 103);
/* oklch */ color: oklch(30.2% 0.129 293.3);
Tailwind
colors: {
  custom: {
    50: '#715893',
    500: '#341867',
    950: '#000000',
  },
}
SCSS
$custom: #341867;
$custom-light: #715893;
$custom-dark: #000000;
JSON
{
  "hex": "#341867",
  "rgb": {
    "r": 52,
    "g": 24,
    "b": 103
  },
  "hsl": {
    "h": 261.266,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.3017,
    "c": 0.12876,
    "h": 293.3
  },
  "luminance": 0.02363
}

Semantic roles & 50–950 ramp

primary
#341867
secondary
#7B9D3E
accent
#E543AC
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #341867

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

Preview Lab → · Contrast checker → · Palette generator →

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