#341967#341967

#341967 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.128 H 293.1°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#341967
RGBrgb(52, 25, 103)
HSLhsl(261, 61%, 25%)
HSVhsv(261, 76%, 40%)
CMYKcmyk(49.5%, 75.7%, 0%, 59.6%)
CIE-LABlab(17.48, 32.61, -40.94)
CIE-LCHlch(17.48, 52.34, 308.54°)
OKLaboklab(30.31% 0.0499 -0.1173)
OKLCHoklch(30.31% 0.128 293.1)
XYZxyz(4.2113, 2.4045, 13.0716)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341967 #4C6719
analogous
#192567 #341967 #5B1967
triadic
#341967 #673419 #196734
tetradic
#341967 #671925 #4C6719 #19675B
square
#341967 #671925 #4C6719 #19675B
split-complementary
#341967 #675B19 #256719
monochromatic
#0C0619 #1B0D36 #341967 #4D2598 #6631C9

Accessibility & contrast

On white

14.18
#341967 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#341967 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341967
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341967#FFFFFF#000000##FFFFFF
##3419671.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #341967;
/* rgb */ color: rgb(52, 25, 103);
/* oklch */ color: oklch(30.3% 0.128 293.1);
Tailwind
colors: {
  custom: {
    50: '#715893',
    500: '#341967',
    950: '#000000',
  },
}
SCSS
$custom: #341967;
$custom-light: #715893;
$custom-dark: #000000;
JSON
{
  "hex": "#341967",
  "rgb": {
    "r": 52,
    "g": 25,
    "b": 103
  },
  "hsl": {
    "h": 260.769,
    "s": 60.938,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30309,
    "c": 0.12751,
    "h": 293.1
  },
  "luminance": 0.02405
}

Semantic roles & 50–950 ramp

primary
#341967
secondary
#7C9D3F
accent
#E444AD
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #341967

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

Preview Lab → · Contrast checker → · Palette generator →

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