#341984#341984

#341984 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.163 H 284.8°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#341984
RGBrgb(52, 25, 132)
HSLhsl(255, 68%, 31%)
HSVhsv(255, 81%, 52%)
CMYKcmyk(60.6%, 81.1%, 0%, 48.2%)
CIE-LABlab(20.40, 41.36, -54.79)
CIE-LCHlch(20.40, 68.65, 307.05°)
OKLaboklab(33.25% 0.0417 -0.1579)
OKLCHoklch(33.25% 0.163 284.8)
XYZxyz(5.9274, 3.0909, 22.1096)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341984 #698419
analogous
#193384 #341984 #691984
triadic
#341984 #843419 #198434
tetradic
#341984 #841933 #698419 #198469
square
#341984 #841933 #698419 #198469
split-complementary
#341984 #846919 #338419
monochromatic
#0B061D #200F51 #341984 #4823B7 #653DDA

Accessibility & contrast

On white

12.98
#341984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#341984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341984
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341984#FFFFFF#000000##FFFFFF
##3419841.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003487
Deuteranopia (green-blind)
#002E82
Tritanopia (blue-blind)
#04394E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #341984;
/* rgb */ color: rgb(52, 25, 132);
/* oklch */ color: oklch(33.3% 0.163 284.8);
Tailwind
colors: {
  custom: {
    50: '#765aa9',
    500: '#341984',
    950: '#000000',
  },
}
SCSS
$custom: #341984;
$custom-light: #765aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#341984",
  "rgb": {
    "r": 52,
    "g": 25,
    "b": 132
  },
  "hsl": {
    "h": 255.14,
    "s": 68.153,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3325,
    "c": 0.16329,
    "h": 284.8
  },
  "luminance": 0.03091
}

Semantic roles & 50–950 ramp

primary
#341984
secondary
#9AB841
accent
#EB3DBF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #341984

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

Preview Lab → · Contrast checker → · Palette generator →

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