#230D47#230D47

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

Color values

HEX#230D47
RGBrgb(35, 13, 71)
HSLhsl(263, 69%, 16%)
HSVhsv(263, 82%, 28%)
CMYKcmyk(50.7%, 81.7%, 0%, 72.2%)
CIE-LABlab(9.80, 26.24, -31.91)
CIE-LCHlch(9.80, 41.32, 309.42°)
OKLaboklab(23.41% 0.0419 -0.0914)
OKLCHoklch(23.41% 0.101 294.6)
XYZxyz(1.9741, 1.1001, 6.0683)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230D47 #31470D
analogous
#0D1447 #230D47 #400D47
triadic
#230D47 #47230D #0D4723
tetradic
#230D47 #470D14 #31470D #0D4740
square
#230D47 #470D14 #31470D #0D4740
split-complementary
#230D47 #47400D #14470D
monochromatic
#0D051A #0D051A #230D47 #3D167B #5620AE

Accessibility & contrast

On white

17.21
#230D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#230D47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230D47
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230D47#FFFFFF#000000##FFFFFF
##230D471.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)
#001C49
Deuteranopia (green-blind)
#001A46
Tritanopia (blue-blind)
#191C29
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #230d47;
/* rgb */ color: rgb(35, 13, 71);
/* oklch */ color: oklch(23.4% 0.101 294.6);
Tailwind
colors: {
  custom: {
    50: '#624e7b',
    500: '#230d47',
    950: '#000000',
  },
}
SCSS
$custom: #230d47;
$custom-light: #624e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#230d47",
  "rgb": {
    "r": 35,
    "g": 13,
    "b": 71
  },
  "hsl": {
    "h": 262.759,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.23413,
    "c": 0.10058,
    "h": 294.6
  },
  "luminance": 0.011
}

Semantic roles & 50–950 ramp

primary
#230D47
secondary
#62822D
accent
#EC3CA9
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050109
muted
#7A777B

Preview Lab

Preview with #230D47

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

Preview Lab → · Contrast checker → · Palette generator →

#230D47 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva