#382597#382597

#382597 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.174 H 281.4°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#382597
RGBrgb(56, 37, 151)
HSLhsl(250, 61%, 37%)
HSVhsv(250, 75%, 59%)
CMYKcmyk(62.9%, 75.5%, 0%, 40.8%)
CIE-LABlab(24.94, 41.50, -59.12)
CIE-LCHlch(24.94, 72.23, 305.07°)
OKLaboklab(37.12% 0.0343 -0.1705)
OKLCHoklch(37.12% 0.174 281.4)
XYZxyz(7.8766, 4.3977, 29.7059)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382597 #849725
analogous
#254B97 #382597 #712597
triadic
#382597 #973825 #259738
tetradic
#382597 #97254B #849725 #259771
square
#382597 #97254B #849725 #259771
split-complementary
#382597 #977125 #4B9725
monochromatic
#140D35 #261966 #382597 #4A31C8 #735FD8

Accessibility & contrast

On white

11.17
#382597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#382597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382597
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382597#FFFFFF#000000##FFFFFF
##3825971.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9A
Deuteranopia (green-blind)
#003795
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #382597;
/* rgb */ color: rgb(56, 37, 151);
/* oklch */ color: oklch(37.1% 0.174 281.4);
Tailwind
colors: {
  custom: {
    50: '#7b62b7',
    500: '#382597',
    950: '#000000',
  },
}
SCSS
$custom: #382597;
$custom-light: #7b62b7;
$custom-dark: #000000;
JSON
{
  "hex": "#382597",
  "rgb": {
    "r": 56,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 250,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.3712,
    "c": 0.17394,
    "h": 281.4
  },
  "luminance": 0.04398
}

Semantic roles & 50–950 ramp

primary
#382597
secondary
#ACBD5B
accent
#E444C9
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #382597

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

Preview Lab → · Contrast checker → · Palette generator →

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