#27137F#27137F

#27137F is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.8% C 0.165 H 279.1°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#27137F
RGBrgb(39, 19, 127)
HSLhsl(251, 74%, 29%)
HSVhsv(251, 85%, 50%)
CMYKcmyk(69.3%, 85%, 0%, 50.2%)
CIE-LABlab(17.59, 41.27, -56.31)
CIE-LCHlch(17.59, 69.81, 306.24°)
OKLaboklab(30.83% 0.026 -0.1626)
OKLCHoklch(30.83% 0.165 279.1)
XYZxyz(4.8991, 2.4290, 20.2852)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27137F #6B7F13
analogous
#13357F #27137F #5D137F
triadic
#27137F #7F2713 #137F27
tetradic
#27137F #7F1335 #6B7F13 #137F5D
square
#27137F #7F1335 #6B7F13 #137F5D
split-complementary
#27137F #7F5D13 #357F13
monochromatic
#08041B #170B4A #27137F #371BB4 #4E2DE0

Accessibility & contrast

On white

14.13
#27137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#27137F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27137F
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27137F#FFFFFF#000000##FFFFFF
##27137F1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00277D
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #27137f;
/* rgb */ color: rgb(39, 19, 127);
/* oklch */ color: oklch(30.8% 0.165 279.1);
Tailwind
colors: {
  custom: {
    50: '#7055a5',
    500: '#27137f',
    950: '#000000',
  },
}
SCSS
$custom: #27137f;
$custom-light: #7055a5;
$custom-dark: #000000;
JSON
{
  "hex": "#27137f",
  "rgb": {
    "r": 39,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 251.111,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30826,
    "c": 0.16465,
    "h": 279.1
  },
  "luminance": 0.02429
}

Semantic roles & 50–950 ramp

primary
#27137F
secondary
#9EB439
accent
#F137CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #27137F

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

Preview Lab → · Contrast checker → · Palette generator →

#27137F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva