#382483#382483

#382483 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.150 H 285.3°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#382483
RGBrgb(56, 36, 131)
HSLhsl(253, 57%, 33%)
HSVhsv(253, 73%, 51%)
CMYKcmyk(57.3%, 72.5%, 0%, 48.6%)
CIE-LABlab(22.80, 35.74, -50.21)
CIE-LCHlch(22.80, 61.63, 305.44°)
OKLaboklab(35% 0.0396 -0.1444)
OKLCHoklch(35% 0.15 285.3)
XYZxyz(6.3573, 3.7408, 21.8554)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382483 #6F8324
analogous
#243F83 #382483 #682483
triadic
#382483 #833824 #248338
tetradic
#382483 #83243F #6F8324 #248368
square
#382483 #83243F #6F8324 #248368
split-complementary
#382483 #836824 #3F8324
monochromatic
#0F0A23 #231753 #382483 #4D31B3 #6C52CF

Accessibility & contrast

On white

12.01
#382483 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#382483 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382483
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382483#FFFFFF#000000##FFFFFF
##3824831.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #382483;
/* rgb */ color: rgb(56, 36, 131);
/* oklch */ color: oklch(35.0% 0.150 285.3);
Tailwind
colors: {
  custom: {
    50: '#7761a8',
    500: '#382483',
    950: '#000000',
  },
}
SCSS
$custom: #382483;
$custom-light: #7761a8;
$custom-dark: #000000;
JSON
{
  "hex": "#382483",
  "rgb": {
    "r": 56,
    "g": 36,
    "b": 131
  },
  "hsl": {
    "h": 252.632,
    "s": 56.886,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35002,
    "c": 0.14977,
    "h": 285.3
  },
  "luminance": 0.03741
}

Semantic roles & 50–950 ramp

primary
#382483
secondary
#9EB34F
accent
#E048C0
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #382483

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

Preview Lab → · Contrast checker → · Palette generator →

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