#341868#341868

#341868 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.130 H 292.9°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#341868
RGBrgb(52, 24, 104)
HSLhsl(261, 63%, 25%)
HSVhsv(261, 77%, 41%)
CMYKcmyk(50%, 76.9%, 0%, 59.2%)
CIE-LABlab(17.38, 33.46, -41.76)
CIE-LCHlch(17.38, 53.51, 308.71°)
OKLaboklab(30.27% 0.0507 -0.1197)
OKLCHoklch(30.27% 0.13 292.9)
XYZxyz(4.2408, 2.3827, 13.3305)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341868 #4C6818
analogous
#182468 #341868 #5C1868
triadic
#341868 #683418 #186834
tetradic
#341868 #681824 #4C6818 #18685C
square
#341868 #681824 #4C6818 #18685C
split-complementary
#341868 #685C18 #246818
monochromatic
#0C0619 #1B0D36 #341868 #4D239A #662FCB

Accessibility & contrast

On white

14.22
#341868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#341868 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341868
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341868#FFFFFF#000000##FFFFFF
##3418681.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6A
Deuteranopia (green-blind)
#002966
Tritanopia (blue-blind)
#242D3E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #341868;
/* rgb */ color: rgb(52, 24, 104);
/* oklch */ color: oklch(30.3% 0.130 292.9);
Tailwind
colors: {
  custom: {
    50: '#715894',
    500: '#341868',
    950: '#000000',
  },
}
SCSS
$custom: #341868;
$custom-light: #715894;
$custom-dark: #000000;
JSON
{
  "hex": "#341868",
  "rgb": {
    "r": 52,
    "g": 24,
    "b": 104
  },
  "hsl": {
    "h": 261,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30267,
    "c": 0.13002,
    "h": 292.9
  },
  "luminance": 0.02383
}

Semantic roles & 50–950 ramp

primary
#341868
secondary
#7C9E3E
accent
#E642AC
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #341868

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

Preview Lab → · Contrast checker → · Palette generator →

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