#380F67#380F67

#380F67 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.139 H 298.2°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#380F67
RGBrgb(56, 15, 103)
HSLhsl(268, 75%, 23%)
HSVhsv(268, 85%, 40%)
CMYKcmyk(45.6%, 85.4%, 0%, 59.6%)
CIE-LABlab(16.31, 38.18, -42.83)
CIE-LCHlch(16.31, 57.37, 311.71°)
OKLaboklab(29.61% 0.0656 -0.1226)
OKLCHoklch(29.61% 0.139 298.2)
XYZxyz(4.2493, 2.1616, 13.0227)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380F67 #3E670F
analogous
#0F1267 #380F67 #640F67
triadic
#380F67 #67380F #0F6738
tetradic
#380F67 #670F12 #3E670F #0F6764
square
#380F67 #670F12 #3E670F #0F6764
split-complementary
#380F67 #67640F #12670F
monochromatic
#0F041B #1B0732 #380F67 #55179C #721FD2

Accessibility & contrast

On white

14.66
#380F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#380F67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380F67
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380F67#FFFFFF#000000##FFFFFF
##380F671.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002969
Deuteranopia (green-blind)
#002765
Tritanopia (blue-blind)
#2C283C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #380f67;
/* rgb */ color: rgb(56, 15, 103);
/* oklch */ color: oklch(29.6% 0.139 298.2);
Tailwind
colors: {
  custom: {
    50: '#745493',
    500: '#380f67',
    950: '#000000',
  },
}
SCSS
$custom: #380f67;
$custom-light: #745493;
$custom-dark: #000000;
JSON
{
  "hex": "#380f67",
  "rgb": {
    "r": 56,
    "g": 15,
    "b": 103
  },
  "hsl": {
    "h": 267.955,
    "s": 74.576,
    "l": 23.137
  },
  "oklch": {
    "l": 0.2961,
    "c": 0.1391,
    "h": 298.2
  },
  "luminance": 0.02162
}

Semantic roles & 50–950 ramp

primary
#380F67
secondary
#6DA032
accent
#F1379A
background
#F7F5F9
surface
#EDE8F1
border
#C8C4CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #380F67

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

Preview Lab → · Contrast checker → · Palette generator →

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