#341A63#341A63

#341A63 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.1% C 0.121 H 294.2°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#341A63
RGBrgb(52, 26, 99)
HSLhsl(261, 58%, 25%)
HSVhsv(261, 74%, 39%)
CMYKcmyk(47.5%, 73.7%, 0%, 61.2%)
CIE-LABlab(17.32, 30.84, -38.57)
CIE-LCHlch(17.32, 49.38, 308.65°)
OKLaboklab(30.08% 0.0497 -0.1104)
OKLCHoklch(30.08% 0.121 294.2)
XYZxyz(4.0371, 2.3696, 12.0466)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341A63 #49631A
analogous
#1A2563 #341A63 #591A63
triadic
#341A63 #63341A #1A6334
tetradic
#341A63 #631A25 #49631A #1A6359
square
#341A63 #631A25 #49631A #1A6359
split-complementary
#341A63 #63591A #25631A
monochromatic
#0D0618 #1B0D33 #341A63 #4D2793 #6733C4

Accessibility & contrast

On white

14.25
#341A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#341A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341A63
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341A63#FFFFFF#000000##FFFFFF
##341A631.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B65
Deuteranopia (green-blind)
#002962
Tritanopia (blue-blind)
#272C3C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #341a63;
/* rgb */ color: rgb(52, 26, 99);
/* oklch */ color: oklch(30.1% 0.121 294.2);
Tailwind
colors: {
  custom: {
    50: '#705990',
    500: '#341a63',
    950: '#000000',
  },
}
SCSS
$custom: #341a63;
$custom-light: #705990;
$custom-dark: #000000;
JSON
{
  "hex": "#341a63",
  "rgb": {
    "r": 52,
    "g": 26,
    "b": 99
  },
  "hsl": {
    "h": 261.37,
    "s": 58.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.3008,
    "c": 0.12105,
    "h": 294.2
  },
  "luminance": 0.0237
}

Semantic roles & 50–950 ramp

primary
#341A63
secondary
#799940
accent
#E246AA
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #341A63

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

Preview Lab → · Contrast checker → · Palette generator →

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