#342483#342483

#342483 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.150 H 282.9°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#342483
RGBrgb(52, 36, 131)
HSLhsl(250, 57%, 33%)
HSVhsv(250, 73%, 51%)
CMYKcmyk(60.3%, 72.5%, 0%, 48.6%)
CIE-LABlab(22.41, 35.09, -50.86)
CIE-LCHlch(22.41, 61.79, 304.61°)
OKLaboklab(34.63% 0.0336 -0.1465)
OKLCHoklch(34.63% 0.15 282.9)
XYZxyz(6.1425, 3.6301, 21.8453)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342483 #738324
analogous
#244483 #342483 #632483
triadic
#342483 #833424 #248334
tetradic
#342483 #832444 #738324 #248363
square
#342483 #832444 #738324 #248363
split-complementary
#342483 #836324 #448324
monochromatic
#0E0A23 #211753 #342483 #4731B3 #6752CF

Accessibility & contrast

On white

12.17
#342483 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#342483 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342483
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342483#FFFFFF#000000##FFFFFF
##3424831.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#003281
Tritanopia (blue-blind)
#043D51
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #342483;
/* rgb */ color: rgb(52, 36, 131);
/* oklch */ color: oklch(34.6% 0.150 282.9);
Tailwind
colors: {
  custom: {
    50: '#7560a8',
    500: '#342483',
    950: '#000000',
  },
}
SCSS
$custom: #342483;
$custom-light: #7560a8;
$custom-dark: #000000;
JSON
{
  "hex": "#342483",
  "rgb": {
    "r": 52,
    "g": 36,
    "b": 131
  },
  "hsl": {
    "h": 250.105,
    "s": 56.886,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34632,
    "c": 0.15028,
    "h": 282.9
  },
  "luminance": 0.03631
}

Semantic roles & 50–950 ramp

primary
#342483
secondary
#A3B34F
accent
#E048C6
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #342483

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

Preview Lab → · Contrast checker → · Palette generator →

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