#341563#341563

#341563 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.127 H 295.5°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#341563
RGBrgb(52, 21, 99)
HSLhsl(264, 65%, 24%)
HSVhsv(264, 79%, 39%)
CMYKcmyk(47.5%, 78.8%, 0%, 61.2%)
CIE-LABlab(16.34, 33.58, -40.16)
CIE-LCHlch(16.34, 52.35, 309.90°)
OKLaboklab(29.39% 0.0549 -0.115)
OKLCHoklch(29.39% 0.127 295.5)
XYZxyz(3.9359, 2.1672, 12.0129)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341563 #446315
analogous
#151D63 #341563 #5B1563
triadic
#341563 #633415 #156334
tetradic
#341563 #63151D #446315 #15635B
square
#341563 #63151D #446315 #15635B
split-complementary
#341563 #635B15 #1D6315
monochromatic
#0D0519 #190A31 #341563 #4F2095 #692AC8

Accessibility & contrast

On white

14.65
#341563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#341563 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341563
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341563#FFFFFF#000000##FFFFFF
##3415631.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002965
Deuteranopia (green-blind)
#002761
Tritanopia (blue-blind)
#272A3B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #341563;
/* rgb */ color: rgb(52, 21, 99);
/* oklch */ color: oklch(29.4% 0.127 295.5);
Tailwind
colors: {
  custom: {
    50: '#715690',
    500: '#341563',
    950: '#000000',
  },
}
SCSS
$custom: #341563;
$custom-light: #715690;
$custom-dark: #000000;
JSON
{
  "hex": "#341563",
  "rgb": {
    "r": 52,
    "g": 21,
    "b": 99
  },
  "hsl": {
    "h": 263.846,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29387,
    "c": 0.12748,
    "h": 295.5
  },
  "luminance": 0.02167
}

Semantic roles & 50–950 ramp

primary
#341563
secondary
#749A3A
accent
#E840A5
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030D
muted
#7B787D

Preview Lab

Preview with #341563

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

Preview Lab → · Contrast checker → · Palette generator →

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