#27185B#27185B

#27185B is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.6% C 0.113 H 286.7°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#27185B
RGBrgb(39, 24, 91)
HSLhsl(253, 58%, 23%)
HSVhsv(253, 74%, 36%)
CMYKcmyk(57.1%, 73.6%, 0%, 64.3%)
CIE-LABlab(14.62, 26.91, -37.71)
CIE-LCHlch(14.62, 46.32, 305.52°)
OKLaboklab(27.57% 0.0325 -0.1083)
OKLCHoklch(27.57% 0.113 286.7)
XYZxyz(3.0511, 1.8398, 10.0898)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27185B #4C5B18
analogous
#182A5B #27185B #49185B
triadic
#27185B #5B2718 #185B27
tetradic
#27185B #5B182A #4C5B18 #185B49
square
#27185B #5B182A #4C5B18 #185B49
split-complementary
#27185B #5B4918 #2A5B18
monochromatic
#0A0618 #120B2B #27185B #3C258B #5132BC

Accessibility & contrast

On white

15.35
#27185B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#27185B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27185B
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27185B#FFFFFF#000000##FFFFFF
##27185B1.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275D
Deuteranopia (green-blind)
#00235A
Tritanopia (blue-blind)
#122937
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #27185b;
/* rgb */ color: rgb(39, 24, 91);
/* oklch */ color: oklch(27.6% 0.113 286.7);
Tailwind
colors: {
  custom: {
    50: '#67568a',
    500: '#27185b',
    950: '#000000',
  },
}
SCSS
$custom: #27185b;
$custom-light: #67568a;
$custom-dark: #000000;
JSON
{
  "hex": "#27185b",
  "rgb": {
    "r": 39,
    "g": 24,
    "b": 91
  },
  "hsl": {
    "h": 253.433,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.27566,
    "c": 0.1131,
    "h": 286.7
  },
  "luminance": 0.0184
}

Semantic roles & 50–950 ramp

primary
#27185B
secondary
#7F923D
accent
#E146BF
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #27185B

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

Preview Lab → · Contrast checker → · Palette generator →

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