#230C4B#230C4B

#230C4B is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.7% C 0.107 H 293.0°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#230C4B
RGBrgb(35, 12, 75)
HSLhsl(262, 72%, 17%)
HSVhsv(262, 84%, 29%)
CMYKcmyk(53.3%, 84%, 0%, 70.6%)
CIE-LABlab(10.02, 28.03, -34.35)
CIE-LCHlch(10.02, 44.34, 309.22°)
OKLaboklab(23.69% 0.0417 -0.0986)
OKLCHoklch(23.69% 0.107 293)
XYZxyz(2.0943, 1.1282, 6.7627)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230C4B #344B0C
analogous
#0C144B #230C4B #430C4B
triadic
#230C4B #4B230C #0C4B23
tetradic
#230C4B #4B0C14 #344B0C #0C4B43
square
#230C4B #4B0C14 #344B0C #0C4B43
split-complementary
#230C4B #4B430C #144B0C
monochromatic
#0C041A #0C041A #230C4B #3C1480 #541DB5

Accessibility & contrast

On white

17.13
#230C4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230C4B
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230C4B#FFFFFF#000000##FFFFFF
##230C4B1.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4D
Deuteranopia (green-blind)
#001A4A
Tritanopia (blue-blind)
#161D2B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #230c4b;
/* rgb */ color: rgb(35, 12, 75);
/* oklch */ color: oklch(23.7% 0.107 293.0);
Tailwind
colors: {
  custom: {
    50: '#634d7e',
    500: '#230c4b',
    950: '#000000',
  },
}
SCSS
$custom: #230c4b;
$custom-light: #634d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#230c4b",
  "rgb": {
    "r": 35,
    "g": 12,
    "b": 75
  },
  "hsl": {
    "h": 261.905,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.23693,
    "c": 0.10703,
    "h": 293
  },
  "luminance": 0.01128
}

Semantic roles & 50–950 ramp

primary
#230C4B
secondary
#66872C
accent
#EF39AD
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06010A
muted
#7A777C

Preview Lab

Preview with #230C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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