#270A43#270A43

#270A43 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.2% C 0.100 H 302.1°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#270A43
RGBrgb(39, 10, 67)
HSLhsl(271, 74%, 15%)
HSVhsv(271, 85%, 26%)
CMYKcmyk(41.8%, 85.1%, 0%, 73.7%)
CIE-LABlab(9.43, 27.45, -29.68)
CIE-LCHlch(9.43, 40.43, 312.77°)
OKLaboklab(23.16% 0.0531 -0.0847)
OKLCHoklch(23.16% 0.1 302.1)
XYZxyz(1.9581, 1.0537, 5.4093)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270A43 #26430A
analogous
#0A0A43 #270A43 #430A43
triadic
#270A43 #43270A #0A4327
tetradic
#270A43 #430A0A #26430A #0A4343
square
#270A43 #430A0A #26430A #0A4343
split-complementary
#270A43 #43430A #0A430A
monochromatic
#0F041B #0F041B #270A43 #461278 #651AAE

Accessibility & contrast

On white

17.34
#270A43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#270A43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270A43
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270A43#FFFFFF#000000##FFFFFF
##270A431.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A45
Deuteranopia (green-blind)
#001A42
Tritanopia (blue-blind)
#211926
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #270a43;
/* rgb */ color: rgb(39, 10, 67);
/* oklch */ color: oklch(23.2% 0.100 302.1);
Tailwind
colors: {
  custom: {
    50: '#654c78',
    500: '#270a43',
    950: '#000000',
  },
}
SCSS
$custom: #270a43;
$custom-light: #654c78;
$custom-dark: #000000;
JSON
{
  "hex": "#270a43",
  "rgb": {
    "r": 39,
    "g": 10,
    "b": 67
  },
  "hsl": {
    "h": 270.526,
    "s": 74.026,
    "l": 15.098
  },
  "oklch": {
    "l": 0.23162,
    "c": 0.09995,
    "h": 302.1
  },
  "luminance": 0.01054
}

Semantic roles & 50–950 ramp

primary
#270A43
secondary
#548029
accent
#F13792
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #270A43

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

Preview Lab → · Contrast checker → · Palette generator →

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