#341C63#341C63

#341C63 is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.4% C 0.118 H 293.7°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#341C63
RGBrgb(52, 28, 99)
HSLhsl(260, 56%, 25%)
HSVhsv(260, 72%, 39%)
CMYKcmyk(47.5%, 71.7%, 0%, 61.2%)
CIE-LABlab(17.74, 29.67, -37.88)
CIE-LCHlch(17.74, 48.11, 308.07°)
OKLaboklab(30.38% 0.0475 -0.1083)
OKLCHoklch(30.38% 0.118 293.7)
XYZxyz(4.0829, 2.4613, 12.0619)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341C63 #4B631C
analogous
#1C2763 #341C63 #581C63
triadic
#341C63 #63341C #1C6334
tetradic
#341C63 #631C27 #4B631C #1C6358
square
#341C63 #631C27 #4B631C #1C6358
split-complementary
#341C63 #63581C #27631C
monochromatic
#0D0718 #1B0F33 #341C63 #4D2993 #6637C2

Accessibility & contrast

On white

14.07
#341C63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#341C63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341C63
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341C63#FFFFFF#000000##FFFFFF
##341C631.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C65
Deuteranopia (green-blind)
#002A62
Tritanopia (blue-blind)
#272D3D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #341c63;
/* rgb */ color: rgb(52, 28, 99);
/* oklch */ color: oklch(30.4% 0.118 293.7);
Tailwind
colors: {
  custom: {
    50: '#705a90',
    500: '#341c63',
    950: '#000000',
  },
}
SCSS
$custom: #341c63;
$custom-light: #705a90;
$custom-dark: #000000;
JSON
{
  "hex": "#341c63",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 99
  },
  "hsl": {
    "h": 260.282,
    "s": 55.906,
    "l": 24.902
  },
  "oklch": {
    "l": 0.30384,
    "c": 0.11829,
    "h": 293.7
  },
  "luminance": 0.02461
}

Semantic roles & 50–950 ramp

primary
#341C63
secondary
#7B9843
accent
#DF49AC
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #341C63

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

Preview Lab → · Contrast checker → · Palette generator →

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