#270328#270328

#270328 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.7% C 0.082 H 327.0°. Best body text is #FFFFFF at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#270328
RGBrgb(39, 3, 40)
HSLhsl(298, 86%, 8%)
HSVhsv(298, 93%, 16%)
CMYKcmyk(2.5%, 92.5%, 0%, 84.3%)
CIE-LABlab(5.87, 23.83, -15.64)
CIE-LCHlch(5.87, 28.50, 326.71°)
OKLaboklab(19.75% 0.0686 -0.0445)
OKLCHoklch(19.75% 0.082 327)
XYZxyz(1.2522, 0.6498, 2.0665)
Luminance0.0065 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270328 #042803
analogous
#140328 #270328 #280316
triadic
#270328 #282703 #032827
tetradic
#270328 #281403 #042803 #031628
square
#270328 #281403 #042803 #031628
split-complementary
#270328 #162803 #032814
monochromatic
#1C021C #1C021C #270328 #5F0761 #960C9A

Accessibility & contrast

On white

18.58
#270328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#270328 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270328
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270328#FFFFFF#000000##FFFFFF
##2703281.0018.581.1318.58
#FFFFFF18.581.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001029
Deuteranopia (green-blind)
#0B1527
Tritanopia (blue-blind)
#280814
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #270328;
/* rgb */ color: rgb(39, 3, 40);
/* oklch */ color: oklch(19.7% 0.082 327.0);
Tailwind
colors: {
  custom: {
    50: '#634762',
    500: '#270328',
    950: '#000000',
  },
}
SCSS
$custom: #270328;
$custom-light: #634762;
$custom-dark: #000000;
JSON
{
  "hex": "#270328",
  "rgb": {
    "r": 39,
    "g": 3,
    "b": 40
  },
  "hsl": {
    "h": 298.378,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.19747,
    "c": 0.08177,
    "h": 327
  },
  "luminance": 0.0065
}

Semantic roles & 50–950 ramp

primary
#270328
secondary
#1D6C1B
accent
#FC2C31
background
#F6F4F5
surface
#EBE6EA
border
#C6C2C6
text
#050005
muted
#7A7779

Preview Lab

Preview with #270328

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

Preview Lab → · Contrast checker → · Palette generator →

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