#341859#341859

#341859 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.9% C 0.111 H 299.0°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#341859
RGBrgb(52, 24, 89)
HSLhsl(266, 58%, 22%)
HSVhsv(266, 73%, 35%)
CMYKcmyk(41.6%, 73%, 0%, 65.1%)
CIE-LABlab(16.03, 29.02, -34.01)
CIE-LCHlch(16.03, 44.71, 310.47°)
OKLaboklab(28.88% 0.0538 -0.097)
OKLCHoklch(28.88% 0.111 299)
XYZxyz(3.5455, 2.1046, 9.6687)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341859 #3D5918
analogous
#181D59 #341859 #551859
triadic
#341859 #593418 #185934
tetradic
#341859 #59181D #3D5918 #185955
square
#341859 #59181D #3D5918 #185955
split-complementary
#341859 #595518 #1D5918
monochromatic
#0E0618 #180B29 #341859 #502589 #6C32B9

Accessibility & contrast

On white

14.78
#341859 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#341859 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341859
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341859#FFFFFF#000000##FFFFFF
##3418591.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285B
Deuteranopia (green-blind)
#002758
Tritanopia (blue-blind)
#2B2736
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #341859;
/* rgb */ color: rgb(52, 24, 89);
/* oklch */ color: oklch(28.9% 0.111 299.0);
Tailwind
colors: {
  custom: {
    50: '#6f5788',
    500: '#341859',
    950: '#000000',
  },
}
SCSS
$custom: #341859;
$custom-light: #6f5788;
$custom-dark: #000000;
JSON
{
  "hex": "#341859",
  "rgb": {
    "r": 52,
    "g": 24,
    "b": 89
  },
  "hsl": {
    "h": 265.846,
    "s": 57.522,
    "l": 22.157
  },
  "oklch": {
    "l": 0.28883,
    "c": 0.11089,
    "h": 299
  },
  "luminance": 0.02105
}

Semantic roles & 50–950 ramp

primary
#341859
secondary
#6C903D
accent
#E1479F
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #341859

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

Preview Lab → · Contrast checker → · Palette generator →

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