#382583#382583

#382583 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.149 H 285.1°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#382583
RGBrgb(56, 37, 131)
HSLhsl(252, 56%, 33%)
HSVhsv(252, 72%, 51%)
CMYKcmyk(57.3%, 71.8%, 0%, 48.6%)
CIE-LABlab(23.01, 35.16, -49.87)
CIE-LCHlch(23.01, 61.01, 305.18°)
OKLaboklab(35.15% 0.0387 -0.1434)
OKLCHoklch(35.15% 0.149 285.1)
XYZxyz(6.3879, 3.8022, 21.8656)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382583 #708325
analogous
#254183 #382583 #672583
triadic
#382583 #833825 #258338
tetradic
#382583 #832541 #708325 #258367
square
#382583 #832541 #708325 #258367
split-complementary
#382583 #836725 #418325
monochromatic
#0F0A24 #241853 #382583 #4C32B3 #6D54CF

Accessibility & contrast

On white

11.93
#382583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#382583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382583
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382583#FFFFFF#000000##FFFFFF
##3825831.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#003481
Tritanopia (blue-blind)
#153E51
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #382583;
/* rgb */ color: rgb(56, 37, 131);
/* oklch */ color: oklch(35.2% 0.149 285.1);
Tailwind
colors: {
  custom: {
    50: '#7761a8',
    500: '#382583',
    950: '#000000',
  },
}
SCSS
$custom: #382583;
$custom-light: #7761a8;
$custom-dark: #000000;
JSON
{
  "hex": "#382583",
  "rgb": {
    "r": 56,
    "g": 37,
    "b": 131
  },
  "hsl": {
    "h": 252.128,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35153,
    "c": 0.14856,
    "h": 285.1
  },
  "luminance": 0.03803
}

Semantic roles & 50–950 ramp

primary
#382583
secondary
#9FB351
accent
#DF49C1
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #382583

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

Preview Lab → · Contrast checker → · Palette generator →

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