#341360#341360

#341360 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.126 H 297.2°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#341360
RGBrgb(52, 19, 96)
HSLhsl(266, 67%, 23%)
HSVhsv(266, 80%, 38%)
CMYKcmyk(45.8%, 80.2%, 0%, 62.4%)
CIE-LABlab(15.70, 33.74, -39.23)
CIE-LCHlch(15.70, 51.74, 310.70°)
OKLaboklab(28.85% 0.0577 -0.1123)
OKLCHoklch(28.85% 0.126 297.2)
XYZxyz(3.7598, 2.0403, 11.2598)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341360 #3F6013
analogous
#131960 #341360 #5A1360
triadic
#341360 #603413 #136034
tetradic
#341360 #601319 #3F6013 #13605A
square
#341360 #601319 #3F6013 #13605A
split-complementary
#341360 #605A13 #196013
monochromatic
#0E051A #18092D #341360 #501D93 #6B27C6

Accessibility & contrast

On white

14.91
#341360 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#341360 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341360
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341360#FFFFFF#000000##FFFFFF
##3413601.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002762
Deuteranopia (green-blind)
#00265F
Tritanopia (blue-blind)
#292738
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #341360;
/* rgb */ color: rgb(52, 19, 96);
/* oklch */ color: oklch(28.8% 0.126 297.2);
Tailwind
colors: {
  custom: {
    50: '#71558e',
    500: '#341360',
    950: '#000000',
  },
}
SCSS
$custom: #341360;
$custom-light: #71558e;
$custom-dark: #000000;
JSON
{
  "hex": "#341360",
  "rgb": {
    "r": 52,
    "g": 19,
    "b": 96
  },
  "hsl": {
    "h": 265.714,
    "s": 66.957,
    "l": 22.549
  },
  "oklch": {
    "l": 0.28846,
    "c": 0.12623,
    "h": 297.2
  },
  "luminance": 0.0204
}

Semantic roles & 50–950 ramp

primary
#341360
secondary
#6E9837
accent
#EA3EA0
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #341360

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

Preview Lab → · Contrast checker → · Palette generator →

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