#27216A#27216A

#27216A is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.6% C 0.122 H 280.0°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#27216A
RGBrgb(39, 33, 106)
HSLhsl(245, 53%, 27%)
HSVhsv(245, 69%, 42%)
CMYKcmyk(63.2%, 68.9%, 0%, 58.4%)
CIE-LABlab(18.19, 26.30, -41.81)
CIE-LCHlch(18.19, 49.39, 302.17°)
OKLaboklab(30.57% 0.0213 -0.1204)
OKLCHoklch(30.57% 0.122 280)
XYZxyz(3.9813, 2.5594, 13.9171)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27216A #646A21
analogous
#213F6A #27216A #4C216A
triadic
#27216A #6A2721 #216A27
tetradic
#27216A #6A213F #646A21 #216A4C
square
#27216A #6A213F #646A21 #216A4C
split-complementary
#27216A #6A4C21 #3F6A21
monochromatic
#090717 #16123B #27216A #383099 #4C41C4

Accessibility & contrast

On white

13.89
#27216A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#27216A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27216A
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27216A#FFFFFF#000000##FFFFFF
##27216A1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6C
Deuteranopia (green-blind)
#002A69
Tritanopia (blue-blind)
#003442
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #27216a;
/* rgb */ color: rgb(39, 33, 106);
/* oklch */ color: oklch(30.6% 0.122 280.0);
Tailwind
colors: {
  custom: {
    50: '#6a5d95',
    500: '#27216a',
    950: '#000000',
  },
}
SCSS
$custom: #27216a;
$custom-light: #6a5d95;
$custom-dark: #000000;
JSON
{
  "hex": "#27216a",
  "rgb": {
    "r": 39,
    "g": 33,
    "b": 106
  },
  "hsl": {
    "h": 244.932,
    "s": 52.518,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30573,
    "c": 0.12222,
    "h": 280
  },
  "luminance": 0.0256
}

Semantic roles & 50–950 ramp

primary
#27216A
secondary
#979E49
accent
#DC4CD0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #27216A

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

Preview Lab → · Contrast checker → · Palette generator →

#27216A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva