#380F68#380F68

#380F68 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.140 H 297.7°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#380F68
RGBrgb(56, 15, 104)
HSLhsl(268, 75%, 23%)
HSVhsv(268, 86%, 41%)
CMYKcmyk(46.2%, 85.6%, 0%, 59.2%)
CIE-LABlab(16.41, 38.44, -43.32)
CIE-LCHlch(16.41, 57.92, 311.59°)
OKLaboklab(29.71% 0.0653 -0.1241)
OKLCHoklch(29.71% 0.14 297.7)
XYZxyz(4.2997, 2.1818, 13.2886)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380F68 #3F680F
analogous
#0F1368 #380F68 #640F68
triadic
#380F68 #68380F #0F6838
tetradic
#380F68 #680F13 #3F680F #0F6864
square
#380F68 #680F13 #3F680F #0F6864
split-complementary
#380F68 #68640F #13680F
monochromatic
#0E041B #1B0733 #380F68 #55179D #721ED3

Accessibility & contrast

On white

14.62
#380F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#380F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380F68
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380F68#FFFFFF#000000##FFFFFF
##380F681.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296A
Deuteranopia (green-blind)
#002866
Tritanopia (blue-blind)
#2B293C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #380f68;
/* rgb */ color: rgb(56, 15, 104);
/* oklch */ color: oklch(29.7% 0.140 297.7);
Tailwind
colors: {
  custom: {
    50: '#755494',
    500: '#380f68',
    950: '#000000',
  },
}
SCSS
$custom: #380f68;
$custom-light: #755494;
$custom-dark: #000000;
JSON
{
  "hex": "#380f68",
  "rgb": {
    "r": 56,
    "g": 15,
    "b": 104
  },
  "hsl": {
    "h": 267.64,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.2971,
    "c": 0.1402,
    "h": 297.7
  },
  "luminance": 0.02182
}

Semantic roles & 50–950 ramp

primary
#380F68
secondary
#6EA132
accent
#F1369B
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #380F68

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

Preview Lab → · Contrast checker → · Palette generator →

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