#341864#341864

#341864 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.125 H 294.4°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#341864
RGBrgb(52, 24, 100)
HSLhsl(262, 61%, 24%)
HSVhsv(262, 76%, 39%)
CMYKcmyk(48%, 76%, 0%, 60.8%)
CIE-LABlab(17.00, 32.27, -39.74)
CIE-LCHlch(17.00, 51.19, 309.08°)
OKLaboklab(29.89% 0.0517 -0.1138)
OKLCHoklch(29.89% 0.125 294.4)
XYZxyz(4.0424, 2.3033, 12.2857)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341864 #486418
analogous
#182264 #341864 #5A1864
triadic
#341864 #643418 #186434
tetradic
#341864 #641822 #486418 #18645A
square
#341864 #641822 #486418 #18645A
split-complementary
#341864 #645A18 #226418
monochromatic
#0D0619 #1A0C33 #341864 #4E2495 #6730C7

Accessibility & contrast

On white

14.38
#341864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341864
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341864#FFFFFF#000000##FFFFFF
##3418641.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B66
Deuteranopia (green-blind)
#002963
Tritanopia (blue-blind)
#262B3C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #341864;
/* rgb */ color: rgb(52, 24, 100);
/* oklch */ color: oklch(29.9% 0.125 294.4);
Tailwind
colors: {
  custom: {
    50: '#715891',
    500: '#341864',
    950: '#000000',
  },
}
SCSS
$custom: #341864;
$custom-light: #715891;
$custom-dark: #000000;
JSON
{
  "hex": "#341864",
  "rgb": {
    "r": 52,
    "g": 24,
    "b": 100
  },
  "hsl": {
    "h": 262.105,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.29885,
    "c": 0.12498,
    "h": 294.4
  },
  "luminance": 0.02303
}

Semantic roles & 50–950 ramp

primary
#341864
secondary
#789A3E
accent
#E443A9
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #341864

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

Preview Lab → · Contrast checker → · Palette generator →

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