#341380#341380

#341380 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.164 H 286.6°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#341380
RGBrgb(52, 19, 128)
HSLhsl(258, 74%, 29%)
HSVhsv(258, 85%, 50%)
CMYKcmyk(59.4%, 85.2%, 0%, 49.8%)
CIE-LABlab(19.03, 42.92, -54.52)
CIE-LCHlch(19.03, 69.39, 308.21°)
OKLaboklab(32.17% 0.0468 -0.157)
OKLCHoklch(32.17% 0.164 286.6)
XYZxyz(5.5442, 2.7540, 20.6573)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341380 #5F8013
analogous
#132980 #341380 #6B1380
triadic
#341380 #803413 #138034
tetradic
#341380 #801329 #5F8013 #13806B
square
#341380 #801329 #5F8013 #13806B
split-complementary
#341380 #806B13 #298013
monochromatic
#0B041B #1E0B4B #341380 #4A1BB5 #642DE0

Accessibility & contrast

On white

13.54
#341380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#341380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341380
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341380#FFFFFF#000000##FFFFFF
##3413801.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003183
Deuteranopia (green-blind)
#002B7E
Tritanopia (blue-blind)
#0D354B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #341380;
/* rgb */ color: rgb(52, 19, 128);
/* oklch */ color: oklch(32.2% 0.164 286.6);
Tailwind
colors: {
  custom: {
    50: '#7657a6',
    500: '#341380',
    950: '#000000',
  },
}
SCSS
$custom: #341380;
$custom-light: #7657a6;
$custom-dark: #000000;
JSON
{
  "hex": "#341380",
  "rgb": {
    "r": 52,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 258.165,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32169,
    "c": 0.16386,
    "h": 286.6
  },
  "luminance": 0.02754
}

Semantic roles & 50–950 ramp

primary
#341380
secondary
#90B539
accent
#F137B9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #341380

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

Preview Lab → · Contrast checker → · Palette generator →

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