#341259#341259

#341259 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.1% C 0.119 H 300.6°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#341259
RGBrgb(52, 18, 89)
HSLhsl(269, 66%, 21%)
HSVhsv(269, 80%, 35%)
CMYKcmyk(41.6%, 79.8%, 0%, 65.1%)
CIE-LABlab(14.87, 32.27, -35.90)
CIE-LCHlch(14.87, 48.27, 311.95°)
OKLaboklab(28.06% 0.0606 -0.1025)
OKLCHoklch(28.06% 0.119 300.6)
XYZxyz(3.4352, 1.8839, 9.6319)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341259 #375912
analogous
#121459 #341259 #571259
triadic
#341259 #593412 #125934
tetradic
#341259 #591214 #375912 #125957
square
#341259 #591214 #375912 #125957
split-complementary
#341259 #595712 #145912
monochromatic
#0F0519 #160826 #341259 #521C8C #6F27BF

Accessibility & contrast

On white

15.25
#341259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#341259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341259
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341259#FFFFFF#000000##FFFFFF
##3412591.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255B
Deuteranopia (green-blind)
#002558
Tritanopia (blue-blind)
#2C2434
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #341259;
/* rgb */ color: rgb(52, 18, 89);
/* oklch */ color: oklch(28.1% 0.119 300.6);
Tailwind
colors: {
  custom: {
    50: '#705489',
    500: '#341259',
    950: '#000000',
  },
}
SCSS
$custom: #341259;
$custom-light: #705489;
$custom-dark: #000000;
JSON
{
  "hex": "#341259",
  "rgb": {
    "r": 52,
    "g": 18,
    "b": 89
  },
  "hsl": {
    "h": 268.732,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28058,
    "c": 0.11905,
    "h": 300.6
  },
  "luminance": 0.01884
}

Semantic roles & 50–950 ramp

primary
#341259
secondary
#659235
accent
#E93F98
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #341259

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

Preview Lab → · Contrast checker → · Palette generator →

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