#27195D#27195D

#27195D is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.9% C 0.115 H 285.8°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#27195D
RGBrgb(39, 25, 93)
HSLhsl(252, 58%, 23%)
HSVhsv(252, 73%, 36%)
CMYKcmyk(58.1%, 73.1%, 0%, 63.5%)
CIE-LABlab(15.04, 26.96, -38.36)
CIE-LCHlch(15.04, 46.88, 305.10°)
OKLaboklab(27.93% 0.0311 -0.1102)
OKLCHoklch(27.93% 0.115 285.8)
XYZxyz(3.1595, 1.9167, 10.5573)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27195D #4F5D19
analogous
#192D5D #27195D #49195D
triadic
#27195D #5D2719 #195D27
tetradic
#27195D #5D192D #4F5D19 #195D49
square
#27195D #5D192D #4F5D19 #195D49
split-complementary
#27195D #5D4919 #2D5D19
monochromatic
#0A0618 #130C2D #27195D #3B268D #4F33BD

Accessibility & contrast

On white

15.18
#27195D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#27195D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27195D
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27195D#FFFFFF#000000##FFFFFF
##27195D1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285F
Deuteranopia (green-blind)
#00245C
Tritanopia (blue-blind)
#102A38
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #27195d;
/* rgb */ color: rgb(39, 25, 93);
/* oklch */ color: oklch(27.9% 0.115 285.8);
Tailwind
colors: {
  custom: {
    50: '#68578c',
    500: '#27195d',
    950: '#000000',
  },
}
SCSS
$custom: #27195d;
$custom-light: #68578c;
$custom-dark: #000000;
JSON
{
  "hex": "#27195d",
  "rgb": {
    "r": 39,
    "g": 25,
    "b": 93
  },
  "hsl": {
    "h": 252.353,
    "s": 57.627,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27927,
    "c": 0.11455,
    "h": 285.8
  },
  "luminance": 0.01917
}

Semantic roles & 50–950 ramp

primary
#27195D
secondary
#82933F
accent
#E147C1
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #27195D

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

Preview Lab → · Contrast checker → · Palette generator →

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