#230E4A#230E4A

#230E4A is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.9% C 0.103 H 292.8°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#230E4A
RGBrgb(35, 14, 74)
HSLhsl(261, 68%, 17%)
HSVhsv(261, 81%, 29%)
CMYKcmyk(52.7%, 81.1%, 0%, 71%)
CIE-LABlab(10.30, 26.62, -33.19)
CIE-LCHlch(10.30, 42.54, 308.73°)
OKLaboklab(23.86% 0.0401 -0.0952)
OKLCHoklch(23.86% 0.103 292.8)
XYZxyz(2.0859, 1.1657, 6.5923)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230E4A #354A0E
analogous
#0E174A #230E4A #410E4A
triadic
#230E4A #4A230E #0E4A23
tetradic
#230E4A #4A0E17 #354A0E #0E4A41
square
#230E4A #4A0E17 #354A0E #0E4A41
split-complementary
#230E4A #4A410E #174A0E
monochromatic
#0C051A #0C051A #230E4A #3B187D #5421B1

Accessibility & contrast

On white

17.03
#230E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#230E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230E4A
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230E4A#FFFFFF#000000##FFFFFF
##230E4A1.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4C
Deuteranopia (green-blind)
#001B49
Tritanopia (blue-blind)
#171E2B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #230e4a;
/* rgb */ color: rgb(35, 14, 74);
/* oklch */ color: oklch(23.9% 0.103 292.8);
Tailwind
colors: {
  custom: {
    50: '#634f7d',
    500: '#230e4a',
    950: '#000000',
  },
}
SCSS
$custom: #230e4a;
$custom-light: #634f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#230e4a",
  "rgb": {
    "r": 35,
    "g": 14,
    "b": 74
  },
  "hsl": {
    "h": 261,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.23862,
    "c": 0.10326,
    "h": 292.8
  },
  "luminance": 0.01166
}

Semantic roles & 50–950 ramp

primary
#230E4A
secondary
#67852F
accent
#EB3DAE
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #230E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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