#341368#341368

#341368 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.136 H 294.0°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#341368
RGBrgb(52, 19, 104)
HSLhsl(263, 69%, 24%)
HSVhsv(263, 82%, 41%)
CMYKcmyk(50%, 81.7%, 0%, 59.2%)
CIE-LABlab(16.48, 36.02, -43.23)
CIE-LCHlch(16.48, 56.27, 309.80°)
OKLaboklab(29.63% 0.0553 -0.124)
OKLCHoklch(29.63% 0.136 294)
XYZxyz(4.1470, 2.1952, 13.2992)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341368 #476813
analogous
#131D68 #341368 #5F1368
triadic
#341368 #683413 #136834
tetradic
#341368 #68131D #476813 #13685F
square
#341368 #68131D #476813 #13685F
split-complementary
#341368 #685F13 #1D6813
monochromatic
#0D051A #1A0A34 #341368 #4E1C9C #6826CF

Accessibility & contrast

On white

14.59
#341368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#341368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341368
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341368#FFFFFF#000000##FFFFFF
##3413681.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6A
Deuteranopia (green-blind)
#002766
Tritanopia (blue-blind)
#242B3D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #341368;
/* rgb */ color: rgb(52, 19, 104);
/* oklch */ color: oklch(29.6% 0.136 294.0);
Tailwind
colors: {
  custom: {
    50: '#725594',
    500: '#341368',
    950: '#000000',
  },
}
SCSS
$custom: #341368;
$custom-light: #725594;
$custom-dark: #000000;
JSON
{
  "hex": "#341368",
  "rgb": {
    "r": 52,
    "g": 19,
    "b": 104
  },
  "hsl": {
    "h": 263.294,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.29634,
    "c": 0.13579,
    "h": 294
  },
  "luminance": 0.02195
}

Semantic roles & 50–950 ramp

primary
#341368
secondary
#779F37
accent
#EC3CA8
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #341368

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

Preview Lab → · Contrast checker → · Palette generator →

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