#382983#382983

#382983 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 35.8% C 0.144 H 284.1°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#382983
RGBrgb(56, 41, 131)
HSLhsl(250, 52%, 34%)
HSVhsv(250, 69%, 51%)
CMYKcmyk(57.3%, 68.7%, 0%, 48.6%)
CIE-LABlab(23.88, 32.75, -48.43)
CIE-LCHlch(23.88, 58.47, 304.07°)
OKLaboklab(35.78% 0.0349 -0.1392)
OKLCHoklch(35.78% 0.144 284.1)
XYZxyz(6.5193, 4.0649, 21.9094)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382983 #748329
analogous
#294783 #382983 #652983
triadic
#382983 #833829 #298338
tetradic
#382983 #832947 #748329 #298365
square
#382983 #832947 #748329 #298365
split-complementary
#382983 #836529 #478329
monochromatic
#100C26 #241A54 #382983 #4C38B2 #6E5BCC

Accessibility & contrast

On white

11.58
#382983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#382983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382983
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382983#FFFFFF#000000##FFFFFF
##3829831.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003681
Tritanopia (blue-blind)
#154052
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #382983;
/* rgb */ color: rgb(56, 41, 131);
/* oklch */ color: oklch(35.8% 0.144 284.1);
Tailwind
colors: {
  custom: {
    50: '#7764a8',
    500: '#382983',
    950: '#000000',
  },
}
SCSS
$custom: #382983;
$custom-light: #7764a8;
$custom-dark: #000000;
JSON
{
  "hex": "#382983",
  "rgb": {
    "r": 56,
    "g": 41,
    "b": 131
  },
  "hsl": {
    "h": 250,
    "s": 52.326,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35784,
    "c": 0.14354,
    "h": 284.1
  },
  "luminance": 0.04065
}

Semantic roles & 50–950 ramp

primary
#382983
secondary
#A2B157
accent
#DC4CC4
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #382983

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

Preview Lab → · Contrast checker → · Palette generator →

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