#341663#341663

#341663 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.126 H 295.3°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#341663
RGBrgb(52, 22, 99)
HSLhsl(263, 64%, 24%)
HSVhsv(263, 78%, 39%)
CMYKcmyk(47.5%, 77.8%, 0%, 61.2%)
CIE-LABlab(16.53, 33.06, -39.86)
CIE-LCHlch(16.53, 51.78, 309.67°)
OKLaboklab(29.52% 0.0539 -0.1141)
OKLCHoklch(29.52% 0.126 295.3)
XYZxyz(3.9546, 2.2046, 12.0191)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341663 #456316
analogous
#161E63 #341663 #5A1663
triadic
#341663 #633416 #166334
tetradic
#341663 #63161E #456316 #16635A
square
#341663 #63161E #456316 #16635A
split-complementary
#341663 #635A16 #1E6316
monochromatic
#0D0619 #1A0B31 #341663 #4E2195 #692CC7

Accessibility & contrast

On white

14.57
#341663 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341663
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341663#FFFFFF#000000##FFFFFF
##3416631.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002965
Deuteranopia (green-blind)
#002861
Tritanopia (blue-blind)
#272A3B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #341663;
/* rgb */ color: rgb(52, 22, 99);
/* oklch */ color: oklch(29.5% 0.126 295.3);
Tailwind
colors: {
  custom: {
    50: '#715690',
    500: '#341663',
    950: '#000000',
  },
}
SCSS
$custom: #341663;
$custom-light: #715690;
$custom-dark: #000000;
JSON
{
  "hex": "#341663",
  "rgb": {
    "r": 52,
    "g": 22,
    "b": 99
  },
  "hsl": {
    "h": 263.377,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29518,
    "c": 0.12625,
    "h": 295.3
  },
  "luminance": 0.02205
}

Semantic roles & 50–950 ramp

primary
#341663
secondary
#759A3B
accent
#E741A6
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030D
muted
#7B787D

Preview Lab

Preview with #341663

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

Preview Lab → · Contrast checker → · Palette generator →

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