#341059#341059

#341059 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.8% C 0.121 H 301.0°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#341059
RGBrgb(52, 16, 89)
HSLhsl(270, 70%, 21%)
HSVhsv(270, 82%, 35%)
CMYKcmyk(41.6%, 82%, 0%, 65.1%)
CIE-LABlab(14.52, 33.25, -36.46)
CIE-LCHlch(14.52, 49.34, 312.37°)
OKLaboklab(27.82% 0.0626 -0.1041)
OKLCHoklch(27.82% 0.121 301)
XYZxyz(3.4042, 1.8219, 9.6216)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341059 #355910
analogous
#101059 #341059 #581059
triadic
#341059 #593410 #105934
tetradic
#341059 #591010 #355910 #105958
square
#341059 #591010 #355910 #105958
split-complementary
#341059 #595810 #105910
monochromatic
#0F051A #160725 #341059 #52198D #7123C1

Accessibility & contrast

On white

15.39
#341059 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#341059 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341059
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341059#FFFFFF#000000##FFFFFF
##3410591.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245B
Deuteranopia (green-blind)
#002458
Tritanopia (blue-blind)
#2C2334
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #341059;
/* rgb */ color: rgb(52, 16, 89);
/* oklch */ color: oklch(27.8% 0.121 301.0);
Tailwind
colors: {
  custom: {
    50: '#705389',
    500: '#341059',
    950: '#000000',
  },
}
SCSS
$custom: #341059;
$custom-light: #705389;
$custom-dark: #000000;
JSON
{
  "hex": "#341059",
  "rgb": {
    "r": 52,
    "g": 16,
    "b": 89
  },
  "hsl": {
    "h": 269.589,
    "s": 69.524,
    "l": 20.588
  },
  "oklch": {
    "l": 0.27817,
    "c": 0.12148,
    "h": 301
  },
  "luminance": 0.01822
}

Semantic roles & 50–950 ramp

primary
#341059
secondary
#639233
accent
#EC3B95
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08020B
muted
#7B787C

Preview Lab

Preview with #341059

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

Preview Lab → · Contrast checker → · Palette generator →

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