#341863#341863

#341863 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.8% C 0.124 H 294.8°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#341863
RGBrgb(52, 24, 99)
HSLhsl(262, 61%, 24%)
HSVhsv(262, 76%, 39%)
CMYKcmyk(47.5%, 75.8%, 0%, 61.2%)
CIE-LABlab(16.91, 31.97, -39.23)
CIE-LCHlch(16.91, 50.61, 309.18°)
OKLaboklab(29.79% 0.0519 -0.1123)
OKLCHoklch(29.79% 0.124 294.8)
XYZxyz(3.9943, 2.2841, 12.0324)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341863 #476318
analogous
#182263 #341863 #5A1863
triadic
#341863 #633418 #186334
tetradic
#341863 #631822 #476318 #18635A
square
#341863 #631822 #476318 #18635A
split-complementary
#341863 #635A18 #226318
monochromatic
#0D0619 #1A0C32 #341863 #4E2494 #6830C6

Accessibility & contrast

On white

14.42
#341863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#341863 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341863
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341863#FFFFFF#000000##FFFFFF
##3418631.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A65
Deuteranopia (green-blind)
#002862
Tritanopia (blue-blind)
#272B3B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #341863;
/* rgb */ color: rgb(52, 24, 99);
/* oklch */ color: oklch(29.8% 0.124 294.8);
Tailwind
colors: {
  custom: {
    50: '#715790',
    500: '#341863',
    950: '#000000',
  },
}
SCSS
$custom: #341863;
$custom-light: #715790;
$custom-dark: #000000;
JSON
{
  "hex": "#341863",
  "rgb": {
    "r": 52,
    "g": 24,
    "b": 99
  },
  "hsl": {
    "h": 262.4,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.29791,
    "c": 0.12371,
    "h": 294.8
  },
  "luminance": 0.02284
}

Semantic roles & 50–950 ramp

primary
#341863
secondary
#77993E
accent
#E444A8
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030D
muted
#7B787D

Preview Lab

Preview with #341863

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

Preview Lab → · Contrast checker → · Palette generator →

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