#381765#381765

#381765 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.128 H 297.4°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#381765
RGBrgb(56, 23, 101)
HSLhsl(265, 63%, 24%)
HSVhsv(265, 77%, 40%)
CMYKcmyk(44.6%, 77.2%, 0%, 60.4%)
CIE-LABlab(17.43, 33.88, -39.69)
CIE-LCHlch(17.43, 52.18, 310.48°)
OKLaboklab(30.33% 0.0589 -0.1135)
OKLCHoklch(30.33% 0.128 297.4)
XYZxyz(4.2856, 2.3931, 12.5455)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381765 #446517
analogous
#171D65 #381765 #5F1765
triadic
#381765 #653817 #176538
tetradic
#381765 #65171D #446517 #17655F
square
#381765 #65171D #446517 #17655F
split-complementary
#381765 #655F17 #1D6517
monochromatic
#0E0619 #1C0C33 #381765 #542297 #6F2EC9

Accessibility & contrast

On white

14.20
#381765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#381765 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381765
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381765#FFFFFF#000000##FFFFFF
##3817651.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B67
Deuteranopia (green-blind)
#002A63
Tritanopia (blue-blind)
#2D2B3C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #381765;
/* rgb */ color: rgb(56, 23, 101);
/* oklch */ color: oklch(30.3% 0.128 297.4);
Tailwind
colors: {
  custom: {
    50: '#745792',
    500: '#381765',
    950: '#000000',
  },
}
SCSS
$custom: #381765;
$custom-light: #745792;
$custom-dark: #000000;
JSON
{
  "hex": "#381765",
  "rgb": {
    "r": 56,
    "g": 23,
    "b": 101
  },
  "hsl": {
    "h": 265.385,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30331,
    "c": 0.12788,
    "h": 297.4
  },
  "luminance": 0.02393
}

Semantic roles & 50–950 ramp

primary
#381765
secondary
#739B3C
accent
#E642A1
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #381765

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

Preview Lab → · Contrast checker → · Palette generator →

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