#341860#341860

#341860 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.5% C 0.120 H 296.0°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#341860
RGBrgb(52, 24, 96)
HSLhsl(263, 60%, 24%)
HSVhsv(263, 75%, 38%)
CMYKcmyk(45.8%, 75%, 0%, 62.4%)
CIE-LABlab(16.64, 31.08, -37.69)
CIE-LCHlch(16.64, 48.85, 309.51°)
OKLaboklab(29.51% 0.0525 -0.1078)
OKLCHoklch(29.51% 0.12 296)
XYZxyz(3.8536, 2.2278, 11.2910)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341860 #446018
analogous
#182060 #341860 #581860
triadic
#341860 #603418 #186034
tetradic
#341860 #601820 #446018 #186058
square
#341860 #601820 #446018 #186058
split-complementary
#341860 #605818 #206018
monochromatic
#0D0618 #190C2F #341860 #4F2491 #6930C2

Accessibility & contrast

On white

14.53
#341860 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#341860 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341860
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341860#FFFFFF#000000##FFFFFF
##3418601.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A62
Deuteranopia (green-blind)
#00285F
Tritanopia (blue-blind)
#282A3A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #341860;
/* rgb */ color: rgb(52, 24, 96);
/* oklch */ color: oklch(29.5% 0.120 296.0);
Tailwind
colors: {
  custom: {
    50: '#70578e',
    500: '#341860',
    950: '#000000',
  },
}
SCSS
$custom: #341860;
$custom-light: #70578e;
$custom-dark: #000000;
JSON
{
  "hex": "#341860",
  "rgb": {
    "r": 52,
    "g": 24,
    "b": 96
  },
  "hsl": {
    "h": 263.333,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29513,
    "c": 0.1199,
    "h": 296
  },
  "luminance": 0.02228
}

Semantic roles & 50–950 ramp

primary
#341860
secondary
#74963D
accent
#E345A6
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #341860

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

Preview Lab → · Contrast checker → · Palette generator →

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