#382893#382893

#382893 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.166 H 281.5°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#382893
RGBrgb(56, 40, 147)
HSLhsl(249, 57%, 37%)
HSVhsv(249, 73%, 58%)
CMYKcmyk(61.9%, 72.8%, 0%, 42.4%)
CIE-LABlab(25.15, 38.55, -56.32)
CIE-LCHlch(25.15, 68.25, 304.39°)
OKLaboklab(37.15% 0.033 -0.1623)
OKLCHoklch(37.15% 0.166 281.5)
XYZxyz(7.6545, 4.4644, 28.0565)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382893 #839328
analogous
#284E93 #382893 #6E2893
triadic
#382893 #933828 #289338
tetradic
#382893 #93284E #839328 #28936E
square
#382893 #93284E #839328 #28936E
split-complementary
#382893 #936E28 #4E9328
monochromatic
#130E33 #261B63 #382893 #4A35C3 #7261D4

Accessibility & contrast

On white

11.09
#382893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#382893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382893
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382893#FFFFFF#000000##FFFFFF
##3828931.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#003891
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #382893;
/* rgb */ color: rgb(56, 40, 147);
/* oklch */ color: oklch(37.1% 0.166 281.5);
Tailwind
colors: {
  custom: {
    50: '#7a64b4',
    500: '#382893',
    950: '#000000',
  },
}
SCSS
$custom: #382893;
$custom-light: #7a64b4;
$custom-dark: #000000;
JSON
{
  "hex": "#382893",
  "rgb": {
    "r": 56,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 248.972,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37146,
    "c": 0.16567,
    "h": 281.5
  },
  "luminance": 0.04465
}

Semantic roles & 50–950 ramp

primary
#382893
secondary
#ACBA5D
accent
#E047CA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #382893

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

Preview Lab → · Contrast checker → · Palette generator →

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