#380A67#380A67

#380A67 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 29.2% C 0.143 H 298.8°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#380A67
RGBrgb(56, 10, 103)
HSLhsl(270, 82%, 22%)
HSVhsv(270, 90%, 40%)
CMYKcmyk(45.6%, 90.3%, 0%, 59.6%)
CIE-LABlab(15.68, 40.03, -43.87)
CIE-LCHlch(15.68, 59.39, 312.39°)
OKLaboklab(29.17% 0.0692 -0.1256)
OKLCHoklch(29.17% 0.143 298.8)
XYZxyz(4.1870, 2.0370, 13.0019)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380A67 #39670A
analogous
#0A0B67 #380A67 #670A67
triadic
#380A67 #67380A #0A6738
tetradic
#380A67 #670A0B #39670A #0A6767
square
#380A67 #670A0B #39670A #0A6767
split-complementary
#380A67 #67670A #0B670A
monochromatic
#0F031C #1A052F #380A67 #560F9F #7515D7

Accessibility & contrast

On white

14.92
#380A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#380A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380A67
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380A67#FFFFFF#000000##FFFFFF
##380A671.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002769
Deuteranopia (green-blind)
#002665
Tritanopia (blue-blind)
#2C263B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #380a67;
/* rgb */ color: rgb(56, 10, 103);
/* oklch */ color: oklch(29.2% 0.143 298.8);
Tailwind
colors: {
  custom: {
    50: '#755293',
    500: '#380a67',
    950: '#000000',
  },
}
SCSS
$custom: #380a67;
$custom-light: #755293;
$custom-dark: #000000;
JSON
{
  "hex": "#380a67",
  "rgb": {
    "r": 56,
    "g": 10,
    "b": 103
  },
  "hsl": {
    "h": 269.677,
    "s": 82.301,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29173,
    "c": 0.14342,
    "h": 298.8
  },
  "luminance": 0.02037
}

Semantic roles & 50–950 ramp

primary
#380A67
secondary
#67A12B
accent
#F92F95
background
#F7F4F9
surface
#EDE7F1
border
#C8C3CB
text
#09020D
muted
#7B787E

Preview Lab

Preview with #380A67

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

Preview Lab → · Contrast checker → · Palette generator →

#380A67 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva