#270C43#270C43

#270C43 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.097 H 301.5°. Best body text is #FFFFFF at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#270C43
RGBrgb(39, 12, 67)
HSLhsl(269, 70%, 15%)
HSVhsv(269, 82%, 26%)
CMYKcmyk(41.8%, 82.1%, 0%, 73.7%)
CIE-LABlab(9.79, 26.42, -29.09)
CIE-LCHlch(9.79, 39.29, 312.25°)
OKLaboklab(23.42% 0.0509 -0.0829)
OKLCHoklch(23.42% 0.097 301.5)
XYZxyz(1.9810, 1.0995, 5.4170)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270C43 #28430C
analogous
#0C0C43 #270C43 #420C43
triadic
#270C43 #43270C #0C4327
tetradic
#270C43 #430C0C #28430C #0C4342
square
#270C43 #430C0C #28430C #0C4342
split-complementary
#270C43 #43420C #0C430C
monochromatic
#0F051A #0F051A #270C43 #451577 #631FAB

Accessibility & contrast

On white

17.21
#270C43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#270C43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270C43
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270C43#FFFFFF#000000##FFFFFF
##270C431.0017.211.2217.21
#FFFFFF17.211.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B45
Deuteranopia (green-blind)
#001B42
Tritanopia (blue-blind)
#211A26
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #270c43;
/* rgb */ color: rgb(39, 12, 67);
/* oklch */ color: oklch(23.4% 0.097 301.5);
Tailwind
colors: {
  custom: {
    50: '#654d78',
    500: '#270c43',
    950: '#000000',
  },
}
SCSS
$custom: #270c43;
$custom-light: #654d78;
$custom-dark: #000000;
JSON
{
  "hex": "#270c43",
  "rgb": {
    "r": 39,
    "g": 12,
    "b": 67
  },
  "hsl": {
    "h": 269.455,
    "s": 69.62,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23418,
    "c": 0.09734,
    "h": 301.5
  },
  "luminance": 0.011
}

Semantic roles & 50–950 ramp

primary
#270C43
secondary
#567F2C
accent
#EC3B96
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #270C43

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

Preview Lab → · Contrast checker → · Palette generator →

#270C43 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva