#27185A#27185A

#27185A is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.5% C 0.112 H 287.0°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#27185A
RGBrgb(39, 24, 90)
HSLhsl(254, 58%, 22%)
HSVhsv(254, 73%, 35%)
CMYKcmyk(56.7%, 73.3%, 0%, 64.7%)
CIE-LABlab(14.53, 26.58, -37.19)
CIE-LCHlch(14.53, 45.71, 305.55°)
OKLaboklab(27.47% 0.0327 -0.1068)
OKLCHoklch(27.47% 0.112 287)
XYZxyz(3.0083, 1.8226, 9.8642)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27185A #4B5A18
analogous
#182A5A #27185A #48185A
triadic
#27185A #5A2718 #185A27
tetradic
#27185A #5A182A #4B5A18 #185A48
square
#27185A #5A182A #4B5A18 #185A48
split-complementary
#27185A #5A4818 #2A5A18
monochromatic
#0A0618 #120B2A #27185A #3C258A #5132BB

Accessibility & contrast

On white

15.39
#27185A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#27185A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27185A
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27185A#FFFFFF#000000##FFFFFF
##27185A1.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265C
Deuteranopia (green-blind)
#002359
Tritanopia (blue-blind)
#132936
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #27185a;
/* rgb */ color: rgb(39, 24, 90);
/* oklch */ color: oklch(27.5% 0.112 287.0);
Tailwind
colors: {
  custom: {
    50: '#675689',
    500: '#27185a',
    950: '#000000',
  },
}
SCSS
$custom: #27185a;
$custom-light: #675689;
$custom-dark: #000000;
JSON
{
  "hex": "#27185a",
  "rgb": {
    "r": 39,
    "g": 24,
    "b": 90
  },
  "hsl": {
    "h": 253.636,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.27468,
    "c": 0.11171,
    "h": 287
  },
  "luminance": 0.01823
}

Semantic roles & 50–950 ramp

primary
#27185A
secondary
#7E913D
accent
#E147BE
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #27185A

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

Preview Lab → · Contrast checker → · Palette generator →

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