#341358#341358

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

Color values

HEX#341358
RGBrgb(52, 19, 88)
HSLhsl(269, 64%, 21%)
HSVhsv(269, 78%, 35%)
CMYKcmyk(40.9%, 78.4%, 0%, 65.5%)
CIE-LABlab(14.96, 31.48, -35.08)
CIE-LCHlch(14.96, 47.13, 311.91°)
OKLaboklab(28.09% 0.0598 -0.1001)
OKLCHoklch(28.09% 0.117 300.8)
XYZxyz(3.4101, 1.9004, 9.4178)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341358 #375813
analogous
#131458 #341358 #561358
triadic
#341358 #583413 #135834
tetradic
#341358 #581314 #375813 #135856
square
#341358 #581314 #375813 #135856
split-complementary
#341358 #585613 #145813
monochromatic
#0F0519 #160826 #341358 #521E8A #6F29BD

Accessibility & contrast

On white

15.22
#341358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341358
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341358#FFFFFF#000000##FFFFFF
##3413581.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255A
Deuteranopia (green-blind)
#002557
Tritanopia (blue-blind)
#2C2434
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #341358;
/* rgb */ color: rgb(52, 19, 88);
/* oklch */ color: oklch(28.1% 0.117 300.8);
Tailwind
colors: {
  custom: {
    50: '#705488',
    500: '#341358',
    950: '#000000',
  },
}
SCSS
$custom: #341358;
$custom-light: #705488;
$custom-dark: #000000;
JSON
{
  "hex": "#341358",
  "rgb": {
    "r": 52,
    "g": 19,
    "b": 88
  },
  "hsl": {
    "h": 268.696,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28093,
    "c": 0.11656,
    "h": 300.8
  },
  "luminance": 0.019
}

Semantic roles & 50–950 ramp

primary
#341358
secondary
#659037
accent
#E74098
background
#F6F5F8
surface
#ECE8F0
border
#C7C4CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #341358

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

Preview Lab → · Contrast checker → · Palette generator →

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