#341462#341462

#341462 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.127 H 296.2°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#341462
RGBrgb(52, 20, 98)
HSLhsl(265, 66%, 23%)
HSVhsv(265, 80%, 38%)
CMYKcmyk(46.9%, 79.6%, 0%, 61.6%)
CIE-LABlab(16.06, 33.81, -39.95)
CIE-LCHlch(16.06, 52.34, 310.24°)
OKLaboklab(29.16% 0.0562 -0.1144)
OKLCHoklch(29.16% 0.127 296.2)
XYZxyz(3.8703, 2.1121, 11.7567)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341462 #426214
analogous
#141B62 #341462 #5B1462
triadic
#341462 #623414 #146234
tetradic
#341462 #62141B #426214 #14625B
square
#341462 #62141B #426214 #14625B
split-complementary
#341462 #625B14 #1B6214
monochromatic
#0D0519 #190A2F #341462 #4F1E95 #6A29C8

Accessibility & contrast

On white

14.76
#341462 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#341462 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341462
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341462#FFFFFF#000000##FFFFFF
##3414621.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002864
Deuteranopia (green-blind)
#002760
Tritanopia (blue-blind)
#27293A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #341462;
/* rgb */ color: rgb(52, 20, 98);
/* oklch */ color: oklch(29.2% 0.127 296.2);
Tailwind
colors: {
  custom: {
    50: '#71558f',
    500: '#341462',
    950: '#000000',
  },
}
SCSS
$custom: #341462;
$custom-light: #71558f;
$custom-dark: #000000;
JSON
{
  "hex": "#341462",
  "rgb": {
    "r": 52,
    "g": 20,
    "b": 98
  },
  "hsl": {
    "h": 264.615,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29163,
    "c": 0.12745,
    "h": 296.2
  },
  "luminance": 0.02112
}

Semantic roles & 50–950 ramp

primary
#341462
secondary
#729938
accent
#E93FA3
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #341462

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

Preview Lab → · Contrast checker → · Palette generator →

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