#230C45#230C45

#230C45 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.1% C 0.099 H 296.0°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#230C45
RGBrgb(35, 12, 69)
HSLhsl(264, 70%, 16%)
HSVhsv(264, 83%, 27%)
CMYKcmyk(49.3%, 82.6%, 0%, 72.9%)
CIE-LABlab(9.40, 26.18, -31.16)
CIE-LCHlch(9.40, 40.70, 310.03°)
OKLaboklab(23.07% 0.0435 -0.0892)
OKLCHoklch(23.07% 0.099 296)
XYZxyz(1.8985, 1.0499, 5.7317)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230C45 #2E450C
analogous
#0C1145 #230C45 #3F0C45
triadic
#230C45 #45230C #0C4523
tetradic
#230C45 #450C11 #2E450C #0C453F
square
#230C45 #450C11 #2E450C #0C453F
split-complementary
#230C45 #453F0C #11450C
monochromatic
#0D051A #0D051A #230C45 #3D1579 #581EAD

Accessibility & contrast

On white

17.36
#230C45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#230C45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230C45
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230C45#FFFFFF#000000##FFFFFF
##230C451.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B47
Deuteranopia (green-blind)
#001944
Tritanopia (blue-blind)
#1A1B27
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #230c45;
/* rgb */ color: rgb(35, 12, 69);
/* oklch */ color: oklch(23.1% 0.099 296.0);
Tailwind
colors: {
  custom: {
    50: '#624d79',
    500: '#230c45',
    950: '#000000',
  },
}
SCSS
$custom: #230c45;
$custom-light: #624d79;
$custom-dark: #000000;
JSON
{
  "hex": "#230c45",
  "rgb": {
    "r": 35,
    "g": 12,
    "b": 69
  },
  "hsl": {
    "h": 264.211,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.2307,
    "c": 0.09926,
    "h": 296
  },
  "luminance": 0.0105
}

Semantic roles & 50–950 ramp

primary
#230C45
secondary
#5F812C
accent
#ED3BA5
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050109
muted
#7A777B

Preview Lab

Preview with #230C45

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

Preview Lab → · Contrast checker → · Palette generator →

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