#230C4A#230C4A

#230C4A is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.6% C 0.106 H 293.4°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#230C4A
RGBrgb(35, 12, 74)
HSLhsl(262, 72%, 17%)
HSVhsv(262, 84%, 29%)
CMYKcmyk(52.7%, 83.8%, 0%, 71%)
CIE-LABlab(9.91, 27.72, -33.82)
CIE-LCHlch(9.91, 43.73, 309.34°)
OKLaboklab(23.59% 0.042 -0.097)
OKLCHoklch(23.59% 0.106 293.4)
XYZxyz(2.0603, 1.1146, 6.5838)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230C4A #334A0C
analogous
#0C144A #230C4A #420C4A
triadic
#230C4A #4A230C #0C4A23
tetradic
#230C4A #4A0C14 #334A0C #0C4A42
square
#230C4A #4A0C14 #334A0C #0C4A42
split-complementary
#230C4A #4A420C #144A0C
monochromatic
#0C041A #0C041A #230C4A #3C157F #551DB3

Accessibility & contrast

On white

17.17
#230C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230C4A
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230C4A#FFFFFF#000000##FFFFFF
##230C4A1.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4C
Deuteranopia (green-blind)
#001A49
Tritanopia (blue-blind)
#171D2A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #230c4a;
/* rgb */ color: rgb(35, 12, 74);
/* oklch */ color: oklch(23.6% 0.106 293.4);
Tailwind
colors: {
  custom: {
    50: '#634d7d',
    500: '#230c4a',
    950: '#000000',
  },
}
SCSS
$custom: #230c4a;
$custom-light: #634d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#230c4a",
  "rgb": {
    "r": 35,
    "g": 12,
    "b": 74
  },
  "hsl": {
    "h": 262.258,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.23587,
    "c": 0.10575,
    "h": 293.4
  },
  "luminance": 0.01115
}

Semantic roles & 50–950 ramp

primary
#230C4A
secondary
#64862C
accent
#EF39AB
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06010A
muted
#7A777C

Preview Lab

Preview with #230C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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