#27145B#27145B

#27145B is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.9% C 0.118 H 288.0°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#27145B
RGBrgb(39, 20, 91)
HSLhsl(256, 64%, 22%)
HSVhsv(256, 78%, 36%)
CMYKcmyk(57.1%, 78%, 0%, 64.3%)
CIE-LABlab(13.75, 29.34, -39.14)
CIE-LCHlch(13.75, 48.91, 306.86°)
OKLaboklab(26.94% 0.0365 -0.1125)
OKLCHoklch(26.94% 0.118 288)
XYZxyz(2.9746, 1.6868, 10.0644)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27145B #485B14
analogous
#14255B #27145B #4B145B
triadic
#27145B #5B2714 #145B27
tetradic
#27145B #5B1425 #485B14 #145B4B
square
#27145B #5B1425 #485B14 #145B4B
split-complementary
#27145B #5B4B14 #255B14
monochromatic
#0B0619 #110929 #27145B #3D1F8D #522ABF

Accessibility & contrast

On white

15.70
#27145B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#27145B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27145B
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27145B#FFFFFF#000000##FFFFFF
##27145B1.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255D
Deuteranopia (green-blind)
#00215A
Tritanopia (blue-blind)
#122736
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #27145b;
/* rgb */ color: rgb(39, 20, 91);
/* oklch */ color: oklch(26.9% 0.118 288.0);
Tailwind
colors: {
  custom: {
    50: '#68538a',
    500: '#27145b',
    950: '#000000',
  },
}
SCSS
$custom: #27145b;
$custom-light: #68538a;
$custom-dark: #000000;
JSON
{
  "hex": "#27145b",
  "rgb": {
    "r": 39,
    "g": 20,
    "b": 91
  },
  "hsl": {
    "h": 256.056,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26944,
    "c": 0.11826,
    "h": 288
  },
  "luminance": 0.01687
}

Semantic roles & 50–950 ramp

primary
#27145B
secondary
#7B9338
accent
#E741BB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #27145B

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

Preview Lab → · Contrast checker → · Palette generator →

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