#341861#341861

#341861 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.121 H 295.6°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#341861
RGBrgb(52, 24, 97)
HSLhsl(263, 60%, 24%)
HSVhsv(263, 75%, 38%)
CMYKcmyk(46.4%, 75.3%, 0%, 62%)
CIE-LABlab(16.73, 31.38, -38.20)
CIE-LCHlch(16.73, 49.44, 309.40°)
OKLaboklab(29.6% 0.0523 -0.1093)
OKLCHoklch(29.6% 0.121 295.6)
XYZxyz(3.8999, 2.2463, 11.5350)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341861 #456118
analogous
#182061 #341861 #581861
triadic
#341861 #613418 #186134
tetradic
#341861 #611820 #456118 #186158
square
#341861 #611820 #456118 #186158
split-complementary
#341861 #615818 #206118
monochromatic
#0D0619 #1A0C30 #341861 #4E2492 #6930C3

Accessibility & contrast

On white

14.49
#341861 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#341861 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341861
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341861#FFFFFF#000000##FFFFFF
##3418611.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A63
Deuteranopia (green-blind)
#002860
Tritanopia (blue-blind)
#282A3A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #341861;
/* rgb */ color: rgb(52, 24, 97);
/* oklch */ color: oklch(29.6% 0.121 295.6);
Tailwind
colors: {
  custom: {
    50: '#70578f',
    500: '#341861',
    950: '#000000',
  },
}
SCSS
$custom: #341861;
$custom-light: #70578f;
$custom-dark: #000000;
JSON
{
  "hex": "#341861",
  "rgb": {
    "r": 52,
    "g": 24,
    "b": 97
  },
  "hsl": {
    "h": 263.014,
    "s": 60.331,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29605,
    "c": 0.12116,
    "h": 295.6
  },
  "luminance": 0.02246
}

Semantic roles & 50–950 ramp

primary
#341861
secondary
#75973D
accent
#E344A6
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #341861

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

Preview Lab → · Contrast checker → · Palette generator →

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