#341A60#341A60

#341A60 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.8% C 0.117 H 295.4°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#341A60
RGBrgb(52, 26, 96)
HSLhsl(262, 57%, 24%)
HSVhsv(262, 73%, 38%)
CMYKcmyk(45.8%, 72.9%, 0%, 62.4%)
CIE-LABlab(17.05, 29.93, -37.02)
CIE-LCHlch(17.05, 47.60, 308.96°)
OKLaboklab(29.81% 0.0503 -0.1058)
OKLCHoklch(29.81% 0.117 295.4)
XYZxyz(3.8963, 2.3133, 11.3053)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341A60 #46601A
analogous
#1A2360 #341A60 #571A60
triadic
#341A60 #60341A #1A6034
tetradic
#341A60 #601A23 #46601A #1A6057
square
#341A60 #601A23 #46601A #1A6057
split-complementary
#341A60 #60571A #23601A
monochromatic
#0D0718 #1A0D30 #341A60 #4E2790 #6834C0

Accessibility & contrast

On white

14.36
#341A60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#341A60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341A60
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341A60#FFFFFF#000000##FFFFFF
##341A601.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B62
Deuteranopia (green-blind)
#00295F
Tritanopia (blue-blind)
#282B3A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #341a60;
/* rgb */ color: rgb(52, 26, 96);
/* oklch */ color: oklch(29.8% 0.117 295.4);
Tailwind
colors: {
  custom: {
    50: '#70598e',
    500: '#341a60',
    950: '#000000',
  },
}
SCSS
$custom: #341a60;
$custom-light: #70598e;
$custom-dark: #000000;
JSON
{
  "hex": "#341a60",
  "rgb": {
    "r": 52,
    "g": 26,
    "b": 96
  },
  "hsl": {
    "h": 262.286,
    "s": 57.377,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29807,
    "c": 0.11714,
    "h": 295.4
  },
  "luminance": 0.02313
}

Semantic roles & 50–950 ramp

primary
#341A60
secondary
#769640
accent
#E147A8
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #341A60

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

Preview Lab → · Contrast checker → · Palette generator →

#341A60 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva