#341456#341456

#341456 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.0% C 0.113 H 301.6°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#341456
RGBrgb(52, 20, 86)
HSLhsl(269, 62%, 21%)
HSVhsv(269, 77%, 34%)
CMYKcmyk(39.5%, 76.7%, 0%, 66.3%)
CIE-LABlab(14.97, 30.39, -33.71)
CIE-LCHlch(14.97, 45.39, 312.04°)
OKLaboklab(28.04% 0.0591 -0.0961)
OKLCHoklch(28.04% 0.113 301.6)
XYZxyz(3.3456, 1.9022, 8.9932)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341456 #365614
analogous
#141556 #341456 #551456
triadic
#341456 #563414 #145634
tetradic
#341456 #561415 #365614 #145655
square
#341456 #561415 #365614 #145655
split-complementary
#341456 #565514 #155614
monochromatic
#0F0619 #160824 #341456 #522088 #702BB9

Accessibility & contrast

On white

15.21
#341456 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341456
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341456#FFFFFF#000000##FFFFFF
##3414561.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002558
Deuteranopia (green-blind)
#002555
Tritanopia (blue-blind)
#2D2433
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #341456;
/* rgb */ color: rgb(52, 20, 86);
/* oklch */ color: oklch(28.0% 0.113 301.6);
Tailwind
colors: {
  custom: {
    50: '#6f5586',
    500: '#341456',
    950: '#000000',
  },
}
SCSS
$custom: #341456;
$custom-light: #6f5586;
$custom-dark: #000000;
JSON
{
  "hex": "#341456",
  "rgb": {
    "r": 52,
    "g": 20,
    "b": 86
  },
  "hsl": {
    "h": 269.091,
    "s": 62.264,
    "l": 20.784
  },
  "oklch": {
    "l": 0.28044,
    "c": 0.11277,
    "h": 301.6
  },
  "luminance": 0.01902
}

Semantic roles & 50–950 ramp

primary
#341456
secondary
#648E38
accent
#E54296
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #341456

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

Preview Lab → · Contrast checker → · Palette generator →

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