#27193D#27193D

#27193D is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.1% C 0.067 H 299.5°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#27193D
RGBrgb(39, 25, 61)
HSLhsl(263, 42%, 17%)
HSVhsv(263, 59%, 24%)
CMYKcmyk(36.1%, 59%, 0%, 76.1%)
CIE-LABlab(12.37, 16.34, -20.68)
CIE-LCHlch(12.37, 26.36, 308.31°)
OKLaboklab(25.14% 0.033 -0.0583)
OKLCHoklch(25.14% 0.067 299.5)
XYZxyz(2.0264, 1.4635, 4.5897)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27193D #2F3D19
analogous
#191D3D #27193D #39193D
triadic
#27193D #3D2719 #193D27
tetradic
#27193D #3D191D #2F3D19 #193D39
square
#27193D #3D191D #2F3D19 #193D39
split-complementary
#27193D #3D3919 #1D3D19
monochromatic
#0E0916 #0E0916 #27193D #432B68 #5F3D94

Accessibility & contrast

On white

16.24
#27193D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#27193D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27193D
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27193D#FFFFFF#000000##FFFFFF
##27193D1.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C203E
Deuteranopia (green-blind)
#10203C
Tritanopia (blue-blind)
#222028
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #27193d;
/* rgb */ color: rgb(39, 25, 61);
/* oklch */ color: oklch(25.1% 0.067 299.5);
Tailwind
colors: {
  custom: {
    50: '#635673',
    500: '#27193d',
    950: '#000000',
  },
}
SCSS
$custom: #27193d;
$custom-light: #635673;
$custom-dark: #000000;
JSON
{
  "hex": "#27193d",
  "rgb": {
    "r": 39,
    "g": 25,
    "b": 61
  },
  "hsl": {
    "h": 263.333,
    "s": 41.86,
    "l": 16.863
  },
  "oklch": {
    "l": 0.25137,
    "c": 0.06702,
    "h": 299.5
  },
  "luminance": 0.01464
}

Semantic roles & 50–950 ramp

primary
#27193D
secondary
#5F733F
accent
#D256A2
background
#F5F5F6
surface
#EAE9EC
border
#C6C5C7
text
#050308
muted
#79787B

Preview Lab

Preview with #27193D

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

Preview Lab → · Contrast checker → · Palette generator →

#27193D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva