#381065#381065

#381065 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.136 H 298.8°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#381065
RGBrgb(56, 16, 101)
HSLhsl(268, 73%, 23%)
HSVhsv(268, 84%, 40%)
CMYKcmyk(44.6%, 84.2%, 0%, 60.4%)
CIE-LABlab(16.26, 37.22, -41.60)
CIE-LCHlch(16.26, 55.82, 311.82°)
OKLaboklab(29.51% 0.0655 -0.119)
OKLCHoklch(29.51% 0.136 298.8)
XYZxyz(4.1645, 2.1509, 12.5051)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381065 #3D6510
analogous
#101365 #381065 #621065
triadic
#381065 #653810 #106538
tetradic
#381065 #651013 #3D6510 #106562
square
#381065 #651013 #3D6510 #106562
split-complementary
#381065 #656210 #136510
monochromatic
#0F041A #1B0830 #381065 #55189A #7321CF

Accessibility & contrast

On white

14.68
#381065 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#381065 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381065
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381065#FFFFFF#000000##FFFFFF
##3810651.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002867
Deuteranopia (green-blind)
#002763
Tritanopia (blue-blind)
#2D283B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #381065;
/* rgb */ color: rgb(56, 16, 101);
/* oklch */ color: oklch(29.5% 0.136 298.8);
Tailwind
colors: {
  custom: {
    50: '#745492',
    500: '#381065',
    950: '#000000',
  },
}
SCSS
$custom: #381065;
$custom-light: #745492;
$custom-dark: #000000;
JSON
{
  "hex": "#381065",
  "rgb": {
    "r": 56,
    "g": 16,
    "b": 101
  },
  "hsl": {
    "h": 268.235,
    "s": 72.65,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29512,
    "c": 0.13588,
    "h": 298.8
  },
  "luminance": 0.02151
}

Semantic roles & 50–950 ramp

primary
#381065
secondary
#6C9D33
accent
#EF3899
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #381065

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

Preview Lab → · Contrast checker → · Palette generator →

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