#230F6D#230F6D

#230F6D is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.9% C 0.147 H 280.9°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#230F6D
RGBrgb(35, 15, 109)
HSLhsl(253, 76%, 24%)
HSVhsv(253, 86%, 43%)
CMYKcmyk(67.9%, 86.2%, 0%, 57.3%)
CIE-LABlab(14.42, 37.17, -49.98)
CIE-LCHlch(14.42, 62.29, 306.64°)
OKLaboklab(27.91% 0.0277 -0.1442)
OKLCHoklch(27.91% 0.147 280.9)
XYZxyz(3.6234, 1.8028, 14.6221)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F6D #596D0F
analogous
#0F2A6D #230F6D #520F6D
triadic
#230F6D #6D230F #0F6D23
tetradic
#230F6D #6D0F2A #596D0F #0F6D52
square
#230F6D #6D0F2A #596D0F #0F6D52
split-complementary
#230F6D #6D520F #2A6D0F
monochromatic
#09041B #120837 #230F6D #3416A3 #461ED9

Accessibility & contrast

On white

15.43
#230F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#230F6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230F6D
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F6D#FFFFFF#000000##FFFFFF
##230F6D1.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002870
Deuteranopia (green-blind)
#00216B
Tritanopia (blue-blind)
#002C3F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #230f6d;
/* rgb */ color: rgb(35, 15, 109);
/* oklch */ color: oklch(27.9% 0.147 280.9);
Tailwind
colors: {
  custom: {
    50: '#6a5298',
    500: '#230f6d',
    950: '#000000',
  },
}
SCSS
$custom: #230f6d;
$custom-light: #6a5298;
$custom-dark: #000000;
JSON
{
  "hex": "#230f6d",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 109
  },
  "hsl": {
    "h": 252.766,
    "s": 75.806,
    "l": 24.314
  },
  "oklch": {
    "l": 0.27907,
    "c": 0.14686,
    "h": 280.9
  },
  "luminance": 0.01803
}

Semantic roles & 50–950 ramp

primary
#230F6D
secondary
#8DA533
accent
#F235CA
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #230F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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